mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-18 15:13:29 +08:00
The v-prefixed mirror was created from github.sha, so for an annotated or signed tag it would point at the commit and drop the signature: "git verify-tag v3.1.3" fails with "cannot verify a non-tag object of type commit" while "git verify-tag 3.1.3" succeeds. Resolve refs/tags/<tag> and mirror whatever object it points at instead, which keeps the current behaviour for lightweight tags. Also move the workflow expressions into env instead of interpolating them into the shell command.