Fixes #219 Add argument to allow only updating drafts and prereleases

This commit is contained in:
Nick Cipollo
2022-10-02 16:31:41 -04:00
committed by Nick Cipollo
parent fc324198c9
commit 5b3ed26ce2
14 changed files with 192 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ inputs:
repo:
description: "Optionally specify the repo where the release should be generated. Defaults to current repo"
required: false
default: ''
default: ''
tag:
description: 'An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).'
required: false
@@ -103,6 +103,10 @@ inputs:
description: 'The Github token.'
required: false
default: ${{ github.token }}
updateOnlyUnreleased:
description: "When allowUpdates is enabled, this will fail the action if the release it is updating is not a draft or a prerelease."
required: false
default: 'true'
outputs:
id:
description: 'The identifier of the created release.'