File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ permissions:
33 contents : read
44
55on :
6- # TODO: remove pull_request once tested in PR
7- pull_request :
86 workflow_dispatch :
97 inputs :
108 version_bump :
@@ -217,14 +215,13 @@ jobs:
217215 run : |
218216 git config --global user.name "aws-crypto-tools-ci-bot"
219217 git config --global user.email "[email protected] " 220- git checkout ${{ github.head_ref }} # Use PR branch or current branch
218+ git checkout $BRANCH
221219
222220 - name : Version packages (dry run - no push)
223221 run : |
224- # For testing: no push to avoid modifying master branch
225- npx lerna version --conventional-commits --no-push --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
226- # TODO: uncomment line below and remove line above when adding publish step
227- # npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
222+ # Generate new version and CHANGELOG entry and push it
223+ npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
224+ # Log the commit for posterity
228225 git log -n 1
229226
230227 # Once semantic versioning has run and bumped versions, publish to npm
You can’t perform that action at this time.
0 commit comments