generate changelog automatically from the tip of current branch, by running npm run release. Current branch doesn't have to be master. Which means - if I want to release from master, but not the HEAD, I can branch out at the desired commit and run release script there. After that, the changes would have to be merged back to the master.
based on the changelog generated, update version in package.json and create a tag
commit & push changelog, package.json and the tag to the current branch
To complete the release then, one only has to create it in GH and select the just created tag.
Adds capability to
npm run release
. Current branch doesn't have to bemaster
. Which means - if I want to release from master, but not the HEAD, I can branch out at the desired commit and runrelease
script there. After that, the changes would have to be merged back to themaster
.To complete the release then, one only has to create it in GH and select the just created tag.