Skip to content

Commit a52d112

Browse files
authored
chore: explicit version bump for release (#648)
If no files are updated outside of the workspaces, then learn will not version any modules. This feature is needed primarily for CI changes that impact customers. Such as deprecating support and removing testing for runtime versions.
1 parent d0c2060 commit a52d112

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

codebuild/release/prod-release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ env:
44
variables:
55
NODE_OPTIONS: "--max-old-space-size=4096"
66
BRANCH: "master"
7+
# An explicit version bump
8+
VERSION_BUMP: ""
79
secrets-manager:
810
OTP_SECRET_KEY: npm/aws-crypto-tools-ci-bot/2FA:OTP_SECRET_KEY
911
NPM_TOKEN: npm/aws-crypto-tools-ci-bot/2FA:NPM_TOKEN
@@ -31,7 +33,7 @@ phases:
3133
# Publish to a local verdaccio server and run all tests against it
3234
- npm run verdaccio
3335
# Generate new version and CHANGELOG entry and push it
34-
- npx lerna version --conventional-commits --git-remote origin --yes
36+
- npx lerna version --conventional-commits --git-remote origin --yes ${VERSION_BUMP:+$VERSION_BUMP --force-publish}
3537
# Log the commit for posterity
3638
- git log -n 1
3739
# Extract the otp using the secrets environment variables from above.

0 commit comments

Comments
 (0)