Skip to content

Commit

Permalink
build(actions): 🐛 fix get env error
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-Xu-0100 committed Mar 28, 2021
1 parent fbdb38b commit 80b77a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
env:
packageName: '@yi-xu-0100/conventional-commit-types-i18n'
run: |
npm view ${env.packageName} version > version.txt
npm view ${env.packageName}@beta version >> version.txt
npm view ${{env.packageName}} version > version.txt
npm view ${{env.packageName}}@beta version >> version.txt
version=`sort -rV version.txt | sed -n '1p'`
npx standard-version --release-as ${version} --skip.changelog --skip.commit --skip.tag
npx standard-version --prerelease beta --skip.commit --skip.tag
Expand Down

0 comments on commit 80b77a6

Please sign in to comment.