cnb-rs repo tag view
cnb-rs repo tag view <TAG>查看 tag 详情,含指向 commit 信息 + GPG 签名验证状态。
参数
<TAG>: Tag 名(必填)
输出字段
Name/Target/Target Type— tag 自身信息Commit SHA/Commit Msg/Author— 指向 commit 信息(仅当 target 是 commit)Verified— GPG 签名是否验证通过(如有签名)
API
| 步骤 | API | 方法 |
|---|---|---|
| 查 tag | ${CNB_API_ENDPOINT}/{repo}/-/git/tags/{tag} | GET |