File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ permissions:
44 id-token : write
55
66on :
7- pull_request :
87 workflow_dispatch :
98 inputs :
109 version_bump :
@@ -55,14 +54,13 @@ jobs:
5554 run : |
5655 git config --global user.name "aws-crypto-tools-ci-bot"
5756 git config --global user.email "[email protected] " 58- git checkout ${{ github.head_ref }} # Use PR branch or current branch
57+ git checkout $BRANCH
5958
6059 - name : Version packages (dry run - no push)
6160 run : |
62- # For testing: no push to avoid modifying master branch
63- npx lerna version --conventional-commits --no-push --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
64- # TODO: uncomment line below and remove line above when adding publish step
65- # npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
61+ # Generate new version and CHANGELOG entry and push it
62+ npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
63+ # Log the commit for posterity
6664 git log -n 1
6765
6866 # Once semantic versioning has run and bumped versions, publish to npm
You can’t perform that action at this time.
0 commit comments