- Start a new branch
git switch -c release/<the new version> origin/main
- Make sure the README is up-to-date for the new version (commit changes if necessary)
- Make sure tests pass locally
rm -Rf ./node_modules && npm ci && npm test
npm version <the new version>
(this creates the git tag)git push origin v<the new version>
- Wait for CI to pass on the tagged version https://travis-ci.org/avh4/binwrap
npm publish
(if this is not a stable release, remember to add--tag rc
)- Push the branch, make a PR for it, and merge the PR