mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
fac47906e6
The steps are numerous, subtle and complex enough that it's worth writing them down. In particular, getting the order correct is important. (i.e., If we released to crates.io first and the GitHub release infrastructure failed, then we'd be in a pickle.)
1.0 KiB
1.0 KiB
Release Checklist
- Run
cargo update
and review dependency updates. Commit updatedCargo.lock
. - Review changes for every crate in
crates
since the last ripgrep release. If the set of changes is non-empty, issue a new release for that crate. - Edit the
Cargo.toml
to set the new ripgrep version. Runcargo update -p ripgrep
so that theCargo.lock
is updated. Commit the changes. - Create a new signed tag for the ripgrep release. Push it to GitHub.
- Wait for CI to finish creating the release. If the release build fails, then delete the tag from GitHub, make fixes, re-tag, delete the release and push.
- Copy the relevant section of the CHANGELOG to the tagged release notes.
- Run
ci/build-deb
locally and manually upload the deb package to the release. - Run
cargo publish
. - Run
ci/sha256-releases >> pkg/brew/ripgrep-bin.rb
. Then editpkg/brew/ripgrep-bin.rb
to update the version numbers and sha256 hashes. Remove extraneous stuff added byci/sha256-releases
. Commit changes.