Compare Cargo.toml & Git Tag versions during release build #5

Closed
opened 2025-07-02 09:57:19 -07:00 by robert · 1 comment
Owner

Compare the version text in the Cargo.toml file with the Git tag used to build a release. Fail the build if they don't match. Remember to consider the Debian version extension as being equivalent.

It shouldn't be possible for me to accidentally release a build that is called one version on the website while gt-tools --version reports something else.

Compare the version text in the Cargo.toml file with the Git tag used to build a release. Fail the build if they don't match. Remember to consider the Debian version extension as being equivalent. It shouldn't be possible for me to accidentally release a build that is called one version on the website while `gt-tools --version` reports something else.
robert added the Kind/Enhancement label 2025-07-02 09:57:19 -07:00
Author
Owner

Completed in 8eacb510a2, part of release v3.0.0

Completed in 8eacb510a26ff007da5bea3ee7be3126e0477ee3, part of release [v3.0.0](https://git.gelvin.dev/robert/gt-tool/releases/tag/v3.0.0)
Sign in to join this conversation.