Skip to content

Commit

Permalink
chore: force use semver
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Jun 1, 2024
1 parent bb2d6e3 commit 6d79eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-BETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
git config --global user.email ${{ vars.USER_EMAIL }}
- run: npm i -D semver node-jq
- run: export original_npm_package_version=$(npx node-jq ".version" package.json)
- run: export npm_package_version=$(semver $original_npm_package_version --increment patch --coerce)
- run: export npm_package_version=$(npx semver $original_npm_package_version --increment patch --coerce)
- run: sed -i 's/$original_npm_package_version/"$npm_package_version"/g' package.json
- run: cat package.json
# - run: |
Expand Down

0 comments on commit 6d79eb8

Please sign in to comment.