release-checklist.md
This file
Path
doc/release-checklist.md
69 lines · 2.6 KiB · Markdown
Last changed by
Merge pull request #1905 from tmccombs/release-automationThayne McCombsbefore adoptionfb1486f
History of this fileTake it
The walk stopped after 200 commits: lines older than 86d6e2d point at it.
Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d
lines 1–7why, one step back1# Release checklist23This file can be used as-is, or copied into the GitHub PR description which includes4necessary changes for the upcoming release.56## Version bump7Merge pull request #1905 from tmccombs/release-automationThayne McCombsbefore adoptionfb1486f
lines 8–10why, one step back8This section can be done by running `scripts/version-bump.sh` with the new version9as an argument.10Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d
lines 11–26why, one step back11- [ ] Create a new branch for the required changes for this release.12- [ ] Update version in `Cargo.toml`. Run `cargo build` to update `Cargo.lock`.13 Make sure to `git add` the `Cargo.lock` changes as well.14- [ ] Find the current min. supported Rust version by running15 `grep rust-version Cargo.toml`.16- [ ] Update the `fd` version and the min. supported Rust version in `README.md`.17- [ ] Update `CHANGELOG.md`. Change the heading of the *"Upcoming release"* section18 to the version of this release.1920## Pre-release checks and updates2122- [ ] Install the latest version (`cargo install --locked -f --path .`) and make23 sure that it is available on the `PATH` (`fd --version` should show the24 new version).25- [ ] Review `-h`, `--help`, and the `man` page.26- [ ] Run `fd -h` and copy the output to the *"Command-line options"* section inMerge pull request #1905 from tmccombs/release-automationThayne McCombsbefore adoptionfb1486f
line 27why, one step back27 the README. This can be done by running `gawk -i inplace -f scripts/update-help.awk README.md`.Merge pull request #1657 from sharkdp/dependabot/cargo/clap-4.5.23Tavian Barnesbefore adoption86d6e2d
lines 28–69why, one step back28- [ ] Push all changes and wait for CI to succeed (before continuing with the29 next section).30- [ ] Optional: manually test the new features and command-line options described31 in the `CHANGELOG.md`.32- [ ] Run `cargo publish --dry-run` to make sure that it will succeed later33 (after creating the GitHub release).3435## Release3637- [ ] Merge your release branch (should be a fast-forward merge).38- [ ] Create a tag and push it: `git tag vX.Y.Z; git push origin tag vX.Y.Z`.39 This will trigger the deployment via GitHub Actions.40 REMINDER: If your `origin` is a fork, don't forget to push to e.g. `upstream`41 instead.42- [ ] Go to https://github.com/sharkdp/fd/releases/new to create the new43 release. Select the new tag and also use it as the release title. For the44 release notes, copy the corresponding section from `CHANGELOG.md` and45 possibly add additional remarks for package maintainers.46 Publish the release.47- [ ] Check if the binary deployment works (archives and Debian packages should48 appear when the CI run *for the Git tag* has finished).49- [ ] Publish to crates.io by running `cargo publish` in a *clean* repository.50 One way to do this is to clone a fresh copy.5152## Post-release5354- [ ] Prepare a new *"Upcoming release"* section at the top of `CHANGELOG.md`.55 Put this at the top:5657 # Upcoming release5859 ## Features606162 ## Bugfixes636465 ## Changes666768 ## Other69