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 @@ -3,7 +3,6 @@ permissions:
33 contents : read
44
55on :
6- pull_request :
76 workflow_dispatch :
87 inputs :
98 version_bump :
@@ -124,14 +123,13 @@ jobs:
124123 run : |
125124 git config --global user.name "aws-crypto-tools-ci-bot"
126125 git config --global user.email "[email protected] " 127- git checkout ${{ github.head_ref }} # Use PR branch or current branch
126+ git checkout $BRANCH
128127
129128 - name : Version packages (dry run - no push)
130129 run : |
131- # For testing: no push to avoid modifying master branch
132- npx lerna version --conventional-commits --no-push --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
133- # TODO: uncomment line below and remove line above when adding publish step
134- # npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
130+ # Generate new version and CHANGELOG entry and push it
131+ npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
132+ # Log the commit for posterity
135133 git log -n 1
136134
137135 # Once semantic versioning has run and bumped versions, publish to npm
You can’t perform that action at this time.
0 commit comments