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:
Paul van Tilburg 2024-07-27 14:06:55 +02:00
parent a5aa633273
commit b0876c539d
No known key found for this signature in database
GPG key ID: C6DE073EDA9EEC4D
2 changed files with 7 additions and 2 deletions

View file

@ -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 }}"