This is an example for publising version 1.2.0
.
- Check that the CI has passed on the aquadoggo project's Github page.
- Make sure you are on the
main
branch. - Run the test suites and make sure all tests pass:
cargo test
.
- Check the git history for any commits on main that have not been mentioned in the Unreleased section of
CHANGELOG.md
but should be. - Add an entry in
CHANGELOG.md
for this new release and move over all the Unreleased stuff. Follow the formatting given by previous entries.
- Bump the package version in
Cargo.toml
by hand, also bump theaquadoggo
dependency version inaquadoggo_cli
. - Commit the version changes with a commit message
1.2.0
. - Run
git tag v1.2.0
and push including your tags usinggit push origin main --tags
.
- The GitHub Action will automatically create the release on GitHub, compile binary targets and upload them as assets. Check if the jobs succeeded.
- Run
cargo publish
.
- The GitHub Action will automatically release this version on DockerHub based on the given Git Tag.