mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-07-03 06:23:45 +00:00
Add ability to set the release title
This PR allows you the set/override the release title, which was set to the tag and still defaults to the tag.
This commit is contained in:
parent
a5aa633273
commit
b0876c539d
2 changed files with 7 additions and 2 deletions
|
@ -10,6 +10,8 @@ inputs:
|
|||
description: 'owner/project relative to the URL'
|
||||
tag:
|
||||
description: 'Tag of the release'
|
||||
title:
|
||||
description: 'Title of the release (defaults to tag)'
|
||||
sha:
|
||||
description: 'SHA of the release'
|
||||
token:
|
||||
|
@ -69,6 +71,8 @@ runs:
|
|||
TAG=${TAG##refs/tags/}
|
||||
fi
|
||||
|
||||
export TITLE="${{ inputs.title }}"
|
||||
|
||||
export DOWNLOAD_LATEST="${{ inputs.download-latest }}"
|
||||
|
||||
export PRERELEASE="${{ inputs.prerelease }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue