diff options
author | Brian Warner <warner@lothar.com> | 2018-10-16 14:53:28 -0700 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-10-16 14:53:28 -0700 |
commit | 3fd70bba96746c323881aee4aab2b38ef2eb5b2e (patch) | |
tree | f1f6ae478c0043208027e5bc47a32ceee60d6fec /spake2 | |
parent | 27001107bc9eb60005ff2f3d79e7a23ecf237ff4 (diff) | |
download | PAKEs-3fd70bba96746c323881aee4aab2b38ef2eb5b2e.tar.xz |
spake2/Cargo.toml: add metadata to fix cargo-release commit messages
This ensures that our tags and automatically-generated commits (before and
after each release, automated by 'cargo-release') refer to the correct
version strings, like "spake2-v0.1.0". The default tag would be
"spake2-0.1.0", and the commit messages wouldn't mention "spake2" at
all (which might get confusing now that we have multiple crates in a single
repo).
Diffstat (limited to 'spake2')
-rw-r--r-- | spake2/Cargo.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spake2/Cargo.toml b/spake2/Cargo.toml index 25e9534..42ffa89 100644 --- a/spake2/Cargo.toml +++ b/spake2/Cargo.toml @@ -12,6 +12,12 @@ exclude = [ ".gitignore" ] +[package.metadata.release] +tag-prefix = "spake2-v" +tag-message = "(cargo-release) spake2-v{{version}}" +pre-release-commit-message = "(cargo-release) spake2-v{{version}}" +pro-release-commit-message = "(cargo-release) start next development iteration spake2-v{{version}}" + [badges] travis-ci = { repository = "RustCrypto/PAKEs" } is-it-maintained-issue-resolution = { repository = "RustCrypto/PAKEs" } |