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:
Sebastian Malton authored and GitHub committed 2023-02-13 11:35:03 -05:00
1 parent c575c7a8bd
commit f678bf4b2e
7 files changed
+1011 -5

No files matched your search

+4 -5
View File
@@ -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