diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-03-16 11:10:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 11:10:33 +0100 |
commit | fb1880e162cbd94d34a4a779752ba031c36b123f (patch) | |
tree | 4bb411c489809741fd0953b21c5ca6558b3c1332 /Makefile.toml | |
parent | 08d2014cfea1583059338a338bc4d5f632763fdb (diff) |
fix: release tagging (#1223)
Switch from "lightweight" tags to "annotated" tags for releases,
since "lightweight" tags are meant for private or temporary object
labels.
`man git tag`:
```
Tag objects (created with -a, -s, or -u) are called "annotated" tags; they contain a creation date, the
tagger name and e-mail, a tagging message, and an optional GnuPG signature. Whereas a "lightweight" tag is
simply a name for an object (usually a commit object).
Annotated tags are meant for release while lightweight tags are meant for private or temporary object
labels. For this reason, some git commands for naming objects (like git describe) will ignore lightweight
tags by default.
```
Diffstat (limited to 'Makefile.toml')
-rw-r--r-- | Makefile.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toml b/Makefile.toml index bb8da5a4c..198597dee 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -237,7 +237,7 @@ args = ["commit", "-aem", "chore(release): v${CARGO_MAKE_CRATE_VERSION}"] [tasks.tag-release] command = "git" -args = ["tag", "v${CARGO_MAKE_CRATE_VERSION}"] +args = ["tag", "--annotate", "--message", "Version ${CARGO_MAKE_CRATE_VERSION}", "v${CARGO_MAKE_CRATE_VERSION}"] [tasks.publish-zellij-tile] ignore_errors = true |