create_tag
Create a Git tag on a specific commit or branch HEAD in a GitFlic project. Provide a commit hash or branch name; include a message for an annotated tag.
Instructions
Create a new Git tag in a GitFlic project. Provide either commitId (specific commit hash) or branchName (tags the branch HEAD) — at least one is required. Include a message to create an annotated tag; omit it for a lightweight tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| message | No | Tag message (annotated tag) | |
| project | Yes | Project alias | |
| tagName | Yes | Tag name | |
| commitId | No | Commit hash to tag (provide commitId or branchName) | |
| branchName | No | Branch name to tag its HEAD (provide commitId or branchName) |