damianflynn/Tag and Release
Creates a new GitHub release from a specified commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jul 14, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: damianflynn/gha-tag-and-release@4619429eb9bedc8ab7c3a098de437cb03f3ac8e5 # 0.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The token to use to access the GitHub API | yes | — |
| tag_name | The name of the tag to create, e.g. v1.0.0 | yes | — |
| release_name | The name of the release, defaults to tag_name | — | — |
| body | Body test of the release | — | — |
| draft | Set to `true` to create a draft release (default: false) | — | false |
| prerelease | Set to `true` to mark as a pre-release (default: false) | — | false |
| commit | The commit to tag and release (default: ${GITHUB_SHA}) | — | — |
Outputs
| name | description |
|---|---|
| id | The ID of the release |
| html_url | The URL of the human-readable web-page of the release |
| upload_url | The URL for uploading assets to the release |