Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release checklist
This file can be used as-is, or copied into the GitHub PR description which includes
necessary changes for the upcoming release.
Version bump
Cargo.toml
. Runcargo build
to updateCargo.lock
.Make sure to
git add
theCargo.lock
changes as well.grep rust-version Cargo.toml
.fd
version and the min. supported Rust version inREADME.md
.CHANGELOG.md
. Change the heading of the "Upcoming release" sectionto the version of this release.
Pre-release checks and updates
cargo install --locked -f --path .
) and makesure that it is available on the
PATH
(fd --version
should show thenew version).
-h
,--help
, and theman
page.fd -h
and copy the output to the "Command-line options" section inthe README
next section).
in the
CHANGELOG.md
.cargo publish --dry-run
to make sure that it will succeed later(after creating the GitHub release).
Release
git tag vX.Y.Z; git push origin tag vX.Y.Z
.This will trigger the deployment via GitHub Actions.
REMINDER: If your
origin
is a fork, don't forget to push to e.g.upstream
instead.
release. Select the new tag and also use it as the release title. For the
release notes, copy the corresponding section from
CHANGELOG.md
andpossibly add additional remarks for package maintainers.
Publish the release.
appear when the CI run for the Git tag has finished).
cargo publish
in a clean repository.One way to do this is to clone a fresh copy.
Post-release
Prepare a new "Upcoming release" section at the top of
CHANGELOG.md
.Put this at the top: