Create a new release for flate2
mainTo release a new version of the flate2 crate, you must update the version in Cargo.toml, publish to crates.io, and tag the commit in Git. Note that changes cannot be made directly to main due to branch protection; all changes must go through a Pull Request.
# 1. Create a release branch
git checkout -b release-<next-version>
# 2. Update Cargo.toml with the new version
# (Manual step: edit Cargo.toml to set version = "<next-version>")
# 3. Create, approve, and merge a PR
gh pr create
# 4. Sync with main
git checkout main
git pull
# 5. Publish to crates.io
cargo publish
# 6. Tag the release
git tag <next-version>
# 7. Push tags to GitHub
git push --tags
# 8. Generate GitHub release notes via the GitHub UI