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 | |
| parent | hotfix: do not send bracketed paste to panes where it is not on (diff) | |
| download | sl0ppij-fb1880e162cbd94d34a4a779752ba031c36b123f.tar.gz sl0ppij-fb1880e162cbd94d34a4a779752ba031c36b123f.tar.xz sl0ppij-fb1880e162cbd94d34a4a779752ba031c36b123f.zip | |
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.
```
| -rw-r--r-- | Makefile.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toml b/Makefile.toml index bb8da5a4..198597de 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 |
