mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix daily-cron failing to bump version (#7129)
* Fix daily-cron failing to bump version Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix variable name Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
c575c7a8bd
commit
f678bf4b2e
7 files changed
+1011
-5
No files matched your search
@@ -21,15 +21,15 @@ jobs:
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
npm i --location=global semver
|
||||
npm install
|
||||
|
||||
yarn install
|
||||
sudo apt-get install -y ripgrep
|
||||
cd packages/bump-version-for-cron && yarn build
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Bump version
|
||||
id: version
|
||||
run: npm run bump-version-for-cron
|
||||
run: |
|
||||
node packages/bump-version-for-cron/dist/index.js --path lerna.json
|
||||
- name: Check if branch already exists
|
||||
id: check-branch
|
||||
run: git ls-remote --exit-code --tags origin v${{ steps.version.outputs.VERSION }}
|
||||
@@ -81,7 +81,6 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "16.x"
|
||||
cache: "npm"
|
||||
registry-url: "https://npm.pkg.github.com"
|
||||
- name: Build package
|
||||
shell: bash
|
||||
|
||||
Reference in new issue
Block a user