From a local workspace:
git pull origin main
git checkout -b "version-X.Y.Z"
Increment the version number appropriately in /package.json
Make a section for the version to be released with the contents of the current unreleased section.
Create a new unreleased section above the section to be released.
Example:
Before the update:
## Unreleased
### Added
#5 Node health information
#4 Pause polling scheduler
After:
## Unreleased
## 1.0.1 2024-01-01
### Added
#5 Node health information
#4 Pause polling scheduler
git commit -m "Version increment to X.Y.Z"
git push --set-upstream origin version-X.Y.Z
From GitHub:
Create a pull request and perform the merge to ‘main’. Once that merge to ‘main’ has been completed, delete branch ‘version-X.Y.Z’.
Follow GitHub procedures to create a Release. Create a tag and the release description observing conventions from previous releases. The release will trigger the “publish package to NPM” action. It will post the new version on the location below:
https://www.npmjs.com/package/@grenmap/gren-map-visualization