- check out
develop
:git checkout develop && git pull
- set the version in
package.json
andpackage-lock.json
- compare to the last version to determine non-dependabot changes:
git log --no-merges --perl-regexp --author='^((?!dependabot).*)$' v2.5.7..HEAD
- update
README.md
with the high-level changelog - commit and push the changes:
git commit -a -m 'OpenNMS.js vX.X.X' && git push
- wait for CircleCI to merge the changes and generate artifacts in
main
: https://app.circleci.com/pipelines/github/OpenNMS/opennms-js - check out
main
:git checkout main && git pull
npm login
asopennms-admin
(or another account authorized to publish)npm publish
- tag and push the version:
git tag -u [email protected] -s vX.X.X && git push origin vX.X.X
- check out
develop
:git checkout develop
- set the version to the next
X.X.Y-SNAPSHOT
version - commit and push the update:
git commit -a -m 'build: X.X.X -> X.X.Y-SNAPSHOT' && git push