Tag a Commit and Cut a Release
A 3-step recipe with GitHub. We can help you get access.
Recipe · 3 steps
Tag a Commit and Cut a Release
with GitHub · Software Construction Management
Resolve a branch tip, create a tag ref, and cut a release on it.
- Read the branch reference to obtain the tip commit SHA.
- Create a tag reference pointing at the branch tip SHA returned by the previous step.
- Create a release for the tag that was just created.
What you'll need to have ready
- githubToken: A GitHub token with repo scope, passed as a Bearer credential.
- owner: The account owner of the repository.
- repo: The name of the repository.
- branch: The branch whose tip commit will be tagged, without the heads/ prefix.
- tagName: The tag name to create and release, without the tags/ prefix.
- releaseName: The display name of the release.
- releaseBody: The description text of the release.
For your developer
Arazzo workflow github:tag-commit-and-release, 3 operations: git/get-ref → git/create-ref → repos/create-release. Specs on APIs.io.