- Update
README.md's Usage section with the output ofxh --help - Update
CHANGELOG.md(rename unreleased header to the current date, add any missing changes). - Run
cargo updateto update dependencies. - Bump up the version in
Cargo.tomland runcargo checkto updateCargo.lock. - Run the following to update shell-completion files and man pages.
cargo run --features=native-tls -- --generate complete-bash > completions/xh.bash cargo run --features=native-tls -- --generate complete-elvish > completions/xh.elv cargo run --features=native-tls -- --generate complete-fish > completions/xh.fish cargo run --features=native-tls -- --generate complete-nushell > completions/xh.nu cargo run --features=native-tls -- --generate complete-powershell > completions/_xh.ps1 cargo run --features=native-tls -- --generate complete-zsh > completions/_xh cargo run --features=native-tls -- --generate man > doc/xh.1
- Commit changes and push them to remote.
- Add git tag e.g
git tag v0.9.0. - Push the local tags to remote i.e
git push --tagswhich will start the CI release action. - Publish to crates.io by running
cargo publish.