doc/release-checklist.md
Cargo.toml. Run cargo build to update Cargo.lock.
Make sure to git add the Cargo.lock changes as well.cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].rust_version'.README.md and
doc/README-*.md. Check with
git grep -i -e 'rust.*1\.' -e '1\..*rust' | grep README | grep -v tests/.CHANGELOG.md with auto-generated release notes and add
missing entries. Expect in particular dependabot PRs to not be in
CHANGELOG.md since they are auto-merged if CI passes.cargo clean && cargo install --locked -f --path .) and make
sure that it is available on the PATH (bat --version should show the
new version).assets/create.sh and check in the binary asset files.-h, --help, and the man page. The man page is shown in
the output of the CI job called Documentation, so look there.
The CI workflow corresponding to the tip of the master branch is a good place to look.bat version again (to include the new syntaxes
and themes).cargo publish --dry-run to make sure that it will
succeed later (after creating the GitHub 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!CHANGELOG.md and
possibly add additional remarks for package maintainers.
Publish the release.cargo publish in a clean repository.
The safest way to do this is to clone a fresh copy.CHANGELOG.md.
Put this at the top:# unreleased
## Features
## Bugfixes
## Other
## Syntaxes
## Themes
## `bat` as a library