Skip to content

fix: set dist-tag to the major version to avoid overwriting latest ta… #1037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion codebuild/release/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ phases:
# This is going to use the OTP generated above and the NPM_TOKEN
# environment variable. This will only publish things that are
# missing from npm. It is therefore safe to run repeatedly.
- npx lerna publish from-package --yes --otp $OTP
# We make sure to specify a tag, otherwise the default is latest.
# This branch is no longer the latest MV so it must be avoided.
- npx lerna publish from-package --yes --otp $OTP --dist-tag '2.x'
# remove after publishing
- rm .npmrc
# Clear out the verdaccio cache so that we get the latest version
Expand Down