This document describes how to create a new pflag release.
- Go to the releases page
- Click "Draft a new release"
- Click "Generate release notes" — this shows the merged PRs since the last tag, which helps determine the next version (minor vs patch)
- Choose the tag version (e.g.,
v1.0.8) — the tag will be created when the release is published - Review the generated notes, then publish
This method has the advantage that the tag and release are published atomically, and the PR list helps pick the right version number before tagging.
git checkout master
git pull origin master
# Tag and push
git tag v1.0.8
git push origin v1.0.8
# Create release with auto-generated notes
gh release create v1.0.8 --generate-notespflag follows Semantic Versioning. Check the releases page for the latest tag.