Skip to content

Release and publish

Ferdinand Malcher edited this page Oct 22, 2024 · 9 revisions

Build, test and dry-run, then check the output!

nx build mixer-connection
nx test mixer-connection
npm run release -- --dryRun

Release (auto or minor)

npm run release
npm run release -- --release-as minor

For patch releases, manually take care of the correct headline level (###)

re-format CHANGELOG.md (- instead of *)

npx nx format

commit changes and create tag

git add -A
git commit -m "chore(release): X.Y.Z"
git tag -a vX.Y.Z -m "vX.Y.Z"

Push

git push --follow-tags origin main

Build for publishing and publish to NPM:

nx build mixer-connection
node tools/scripts/publish.mjs mixer-connection X.Y.Z latest <OTP>
Clone this wiki locally