- Merge all PRs intended for the release.
- Rebase latest remote main branch locally (
git pull --rebase origin main
). - Ensure all analysis checks and tests are passing (
make all
). - Open a new PR to update CHANGELOG (example)1,2,3.
- Merge CHANGELOG.
- Rebase latest remote main branch locally (
git pull --rebase origin main
). - Tag a new release (
tag=vX.Y.Z && git tag -s $tag -m $tag && git push $(git config branch.$(git symbolic-ref -q --short HEAD).remote) $tag
). - Copy/paste CHANGELOG into a new draft release4.
- Publish draft release.
- We utilize semantic versioning and only include relevant/significant changes within the CHANGELOG.
- Also bump
ProjectVersion
infastly/client.go
. - If a major version change, then update references to the version in
go.mod
andREADME.md
(also in code example tests,./fastly/example_*_test.go
). - Use the format:
vX.Y.Z - yyyy-mm-dd
for the release title.