Release: clarify lightweight tag rejection
This commit is contained in:
1 parent
523355a128
commit
30e669359a
3 files changed
+21
-3
No files matched your search
+5
-1
@@ -96,11 +96,15 @@ to `stable`; any strict SemVer prerelease goes to `beta`.
|
||||
|
||||
```bash
|
||||
git config gpg.format ssh
|
||||
git config user.signingkey ~/.ssh/echoion-release-maintainer.pub
|
||||
git config user.signingkey ~/.ssh/echoion-release-maintainer
|
||||
git tag -s -a v1.2.3 -m 'Echoion 1.2.3'
|
||||
test "$(git cat-file -t refs/tags/v1.2.3)" = tag
|
||||
git push origin v1.2.3
|
||||
```
|
||||
|
||||
The private-key path works without an SSH agent. A `.pub` path may be used
|
||||
instead when its matching private key is already loaded in `ssh-agent`.
|
||||
|
||||
`.gitea/workflows/release.yml` rejects a lightweight tag, a non-SSH
|
||||
signature, an untrusted signer, a repository without the exact `v*` protected
|
||||
tag rule and explicit allowlist, a non-SemVer name, an event object unrelated
|
||||
|
||||
Reference in new issue
Block a user