release-[x.y.z]
branch from tip of master
(or whatever release commit)bash
git checkout master && git pull && git checkout -b release-2.1.0
package.json
+ update CHANGELOG version links for all releasing packages (i.e., root + any resolvers)In changelog for core plugin, normally leave Unreleased but update its link at the bottom to be rooted at the new version's tag, and add a link for the new version rooted at last version's tag.
```markdown
```
becomes
```markdown
```
Generally, don't use npm version
for this because it creates a tag, which I normally
wait until signoff from contributors and actually npm publish
-ing to snap the tag.
release-[x.y.z]
into release
branchI like this because it - lists all commits in the release - provides a commentary location to discuss the release - builds in CI and provides test results
fix issues in changelog/docs
npm publish
from release-[x.y.z]
branch
don't forget resolvers!
tag commit (v[x.y.z]
)
again, not forgetting resolvers, if needed (resolvers/[name]/v[t.u.v]
)
merge release-[x.y.z]
into release
(
ideally fast-forward, probably with Git CLI instead of Github
merge release
into master
Done!