Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 920 Bytes

RELEASING.md

File metadata and controls

34 lines (23 loc) · 920 Bytes

🏄 Releasing @villedemontreal/angular-ui package

This document explains how to publish the package at version x.y.z. Ensure that you’re following semver when choosing a version number.

Publish Process

Update to latest locally to ensure you’re on the latest commit. Make sure you have no unstaged changes.

Releasing on master/main branch

Run:

npm version --no-git-tag-version x.y.z
cd projects/angular-ui
npm version x.y.z
git commit -s -am "ci(release): vx.y.z"

Next,

git tag vx.y.z
git push --tags or git push origin vx.y.z

Next,

git push

Next, go to https://github.com/VilledeMontreal/angular-ui/releases and create a "draft new release". Select your tag vx.y.z and "Generate release notes", next check "Set as the latest release" and "Publish release". In the "Actions" panel, you should see that the workflow "vx.y.z publish NPM package" is triggered