Files
taskchampion-sync-server/RELEASING.md
Dustin J. Mitchell 67524a0a91 Simplify cargo publish steps in RELEASING.md
Updated release instructions to simplify publishing process.
2025-10-11 14:58:26 -04:00

1.2 KiB

Release process

  1. Run git pull upstream main
  2. Run cargo test
  3. Run cargo clean && cargo clippy
  4. Remove the -pre from version in all */Cargo.toml, and from the version = .. in any references between packages.
  5. Update the link to docker-compose.yml in docs/src/usage/docker-compose.md to refer to the new version.
  6. Update the docker image in docker-compose.yml to refer to the new version.
  7. Run cargo semver-checks (https://crates.io/crates/cargo-semver-checks)
  8. Run cargo build --release
  9. Commit the changes (Cargo.lock will change too) with comment vX.Y.Z.
  10. Run git tag vX.Y.Z
  11. Run git push upstream
  12. Run git push upstream --tag vX.Y.Z
  13. Run cargo publish to publish all packages in the workspace
  14. Bump the patch version in */Cargo.toml and add the -pre suffix. This allows cargo-semver-checks to check for changes not accounted for in the version delta.
  15. Run cargo build --release again to update Cargo.lock
  16. Commit that change with comment "Bump to -pre version".
  17. Run git push upstream
  18. Navigate to the tag in the GitHub releases UI and create a release with general comments about the changes in the release