Skip to content

Commit

Permalink
fix: 使用package.json获取版本
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Nov 6, 2023
1 parent ebaa98f commit b17ee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
if: startsWith( env.commitmsg , 'chore(release):' )
shell: bash -ex {0}
run: |
CURRENT_VERSION=$(node -p 'require("./lerna.json").version')
CURRENT_VERSION=$(node -p 'require("./packages/taro-ui/package.json").version')
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
# Check git tag
Expand Down

0 comments on commit b17ee84

Please sign in to comment.