joutvhu/Create Or Update Release

GitHub Action to Create Release

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 26, 2023
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: joutvhu/create-release@7ca8c87c72f9518b5f4c9d987343016da346c71e # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ownerOwner of the repository if it is not the current one.no
repoRepository on which to release. Used only if you want to create the release on another repo.no
tag_nameThe name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tagyes
nameThe name of the release. For example, `Release v1.0.1`yes
bodyText describing the contents of the tag.no
body_pathPath to file with information about the tag.no
draft`true` to create a draft (unpublished) release, `false` to create a published one. Default: `false`nofalse
prerelease`true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false`nofalse
make_latestIndicates if the release should be the "latest" release or not.notrue
target_commitishAny branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commitno
discussion_category_nameWhen provided this will generate a discussion of the specified category. The category must exist otherwise this will cause the action to fail. This isn't used with draft releasesno
generate_release_notesIndicates if release notes should be automatically generated.no
on_release_existsIndicate what to do if a release already exists. Options: `skip`, `update`, `update_only_unreleased`, `update_only_unreleased_or_skip`, `error`noskip
remove_assetsIndicates if existing release artifacts should be removed, Defaults to false.nofalse
debugShow ouputsno
namedescription
idThe ID of the created Release
node_idThe node ID
urlThe release url
html_urlThe URL users can navigate to in order to view the release
assets_urlThe release assets url
upload_urlThe URL for uploading assets to the release
discussion_urlThe URL of discussion
tarball_urlThe URL of tarball
zipball_urlThe URL of zipball
mentions_countThe mentions count
nameThe release name
tag_nameThe git tag associated with the release
draftIs draft
prereleaseIs pre-release
target_commitishThe release was create to which target branch
created_atCreated date
published_atPublished date
bodyThe release body