randlabs/CreateTagAndRelease
GitHub action to create tags and/or releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | Tag name | yes | — |
| create_release | Set to true to indicate if the release must be created. Implies tag creation too. | no | true |
| create_tag | Set to true to indicate if only the tag must be created. | no | true |
| repo | Target repository in <owner-or-company>/<repository> format. Defaults to the one that fired the action. | no | — |
| sha | The commit hash to tag. Defaults to the one that fired the action. | no | — |
| branch | If a branch name is specified. The last commit hash on that branch will be used. | no | — |
| message | Sets the tag message. Only applies if just the tag is created. | no | — |
| draft | Set to true to mark the release as draft. Only applies when a release is created. | no | — |
| pre_release | Set to true to mark the release as a pre-release. Only applies when a release is created. | no | — |
| auto_notes | Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes. Only applies when a release is created. | no | — |
| name | Release name. Only applies when a release is created. | no | — |
| body | Text describing the contents of the release. Only applies when a release is created. | no | — |
| ignore_existing | Set to false to stop if the tag/release already exists. | no | true |
Outputs
| name | description |
|---|---|
| id | The release id if `create_release=true` was specified. |
| url | The release url if `create_release=true` was specified. |
| upload_url | The release artifact upload url if `create_release=true` was specified. |
| tag_sha | The hash of the new tag. Only when just a tag is created. |