Specify release assets as action arguments (divided by one of: new line, space, comma, pipe)
Fine tune action configuration using environmental variables:
Environmental Variable
Allowed Values
Default Value
Description
DRAFT_RELEASE
true/false
false
Publish a draft release
PRE_RELEASE
true/false
false
Mark release non-production ready
CHANGELOG_FILE
*
CHANGELOG.md
Changelog filename (set none to silence a warning message if file does not exist)
ALLOW_EMPTY_CHANGELOG
true/false
false
Allow publishing a release without changelog
TAG_PREFIX_REGEX
*
[v]?
Version tag prefix regex, for example [a-z-]* in order to parse prerelease-1.1.0
RELEASE_NAME
*
""
Complete release title (should not be combined with RELEASE_NAME_PREFIX and RELEASE_NAME_SUFFIX)
RELEASE_NAME_PREFIX
*
""
Release title prefix
RELEASE_NAME_SUFFIX
*
""
Release title suffix
UNRELEASED
update/delete
""
Set to update in order to allow deletion and recreation of the same release and its tag (intended to be used for unreleased/latest release only). Set to delete in order to delete a previously published unreleased/latest release.
UNRELEASED_TAG
latest
*
Use a custom tag for unreleased/latest release (tag will be created/deleted automatically)
Configuration is provided as environmental variables (strings), so do not forget to enclose boolean values with quotes
:information_source: Windows Runners
Execute git-release through JavaScrip Wrapper on Windows Runners.
This action has multiple tags: latest / v1 / v1.2 / v1.2.3. You may lock to a certain version instead of using latest.
(Recommended to lock against a major version, for examplev4)
Instead of using a pre-built Docker image, you may execute the action through JavaScript wrapper by changing docker://antonyurchenko/git-release:latest to anton-yurchenko/git-release@main
git-release operates assets with pattern matching, this means that it is unable to validate whether an asset exists
Docker image is published both to Docker Hub and GitHub Packages. If you don't want to rely on Docker Hub but still want to use the dockerized action, you may switch from uses: docker://antonyurchenko/git-release:latest to uses: docker://ghcr.io/anton-yurchenko/git-release:latest
Slashes (/) in asset filenames will be replaced with dashes (-)