Skip to content

Commit

Permalink
chore: Add explicit v-2 dist tag to publish script
Browse files Browse the repository at this point in the history
This is to prevent accidentally publishing the v2 branch under the "latest" dist tag
  • Loading branch information
michaelbromley committed Sep 11, 2024
1 parent eac3d5f commit 9457854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"check-core-type-defs": "ts-node scripts/check-core-type-defs.ts",
"check-angular-versions": "ts-node scripts/check-angular-versions.ts",
"generate-changelog": "ts-node scripts/changelogs/generate-changelog.ts",
"publish-release": "lerna publish -m \"chore: Publish %s\" --no-push --force-publish",
"publish-release": "lerna publish -m \"chore: Publish %s\" --no-push --force-publish --dist-tag v-2",
"publish-prerelease": "lerna publish -m \"chore: Pre-release %s\" prerelease --exact --no-push --force-publish --preid next --dist-tag next",
"publish-local": "lerna version --force-publish --no-git-tag-version && cd scripts && ./publish-to-verdaccio.sh"
},
Expand Down

0 comments on commit 9457854

Please sign in to comment.