Skip to content

Commit

Permalink
chore: use sed to substitute package version
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Jun 1, 2024
1 parent a611211 commit e213ffe
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 @@ -48,7 +48,7 @@ jobs:
echo $original_npm_package_version
export npm_package_version=$(npx semver $original_npm_package_version --increment patch --coerce)
echo $npm_package_version
- run: sed -e 's/($original_npm_package_version)/"($npm_package_version)"/g' package.json
- run: sed -e "s/${original_npm_package_version}/'${npm_package_version}'/g" package.json
- run: cat package.json
# - run: |
# git commit -am "ci: update package json to $npm_package_version [skip ci]"
Expand Down

0 comments on commit e213ffe

Please sign in to comment.