akitorahayashi/gh-release
Manage GitHub Release lifecycle in explicit prepare, upload, and publish phases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Release lifecycle mode (prepare, upload, publish) | yes | — |
| repository | Target repository in owner/repo format; defaults to current workflow repository | no | — |
| token | GitHub token with repository release permissions | yes | — |
| tag | Tag name for release preparation | no | — |
| create | Create a draft release when no release exists for the tag | no | false |
| name | Release name applied by prepare or publish metadata ownership | no | — |
| body | Release body text applied by prepare or publish metadata ownership | no | — |
| body_path | Path to a markdown file used as release body text | no | — |
| generate_notes | Generate GitHub release notes during prepare or publish | no | — |
| prerelease | Mark release as prerelease during prepare or publish | no | — |
| make_latest | Latest-release setting for prepare or publish (true, false, legacy) | no | — |
| release_id | Existing release identifier required by upload and publish | no | — |
| files | Newline-separated file paths or glob patterns uploaded in upload mode | no | — |
| overwrite | Replace existing assets with the same filename in upload mode | no | false |
| fail_on_unmatched_files | Fail upload mode when no files match | no | true |
| working_directory | Base directory for file matching in upload mode | no | — |
| publish | Require explicit true to publish a draft release in publish mode | no | — |
Outputs
| name | description |
|---|---|
| release_id | Canonical release identifier |
| upload_url | Canonical release upload URL |
| html_url | Canonical release HTML URL |
| tag_name | Canonical release tag name |
| created | True when prepare mode created a new release |
| draft | Current draft state of the canonical release |
| uploaded_assets | JSON array of uploaded assets from upload mode |