mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-07-04 06:53:44 +00:00
feat(ci): use Release Notes Assistant
This commit is contained in:
parent
a4252003d2
commit
59d006123b
3 changed files with 25 additions and 8 deletions
|
@ -43,6 +43,9 @@ inputs:
|
|||
prerelease:
|
||||
description: 'Mark Release as Pre-Release'
|
||||
default: 'false'
|
||||
release-notes-assistant:
|
||||
description: 'Generate release notes with Release Notes Assistant'
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
@ -57,6 +60,8 @@ runs:
|
|||
# A trailing / will mean http://forgejo//api/v1 is used
|
||||
# and it always 401 as of v1.19, because of the double slash
|
||||
FORGEJO=${FORGEJO%%/}
|
||||
export SCHEME=${FORGEJO%://*}
|
||||
export HOST=${FORGEJO#*://}
|
||||
|
||||
export REPO="${{ inputs.repo }}"
|
||||
if test -z "$REPO"; then
|
||||
|
@ -77,6 +82,8 @@ runs:
|
|||
|
||||
export PRERELEASE="${{ inputs.prerelease }}"
|
||||
|
||||
export RELEASE_NOTES_ASSISTANT="${{ inputs.release-notes-assistant }}"
|
||||
|
||||
export TOKEN="${{ inputs.token }}"
|
||||
|
||||
export RELEASE_DIR="${{ inputs.release-dir }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue