From ef8885173f361b83d8ae107a623495e2d572f40e Mon Sep 17 00:00:00 2001 From: dave-lang Date: Fri, 13 Dec 2024 14:18:12 +1000 Subject: [PATCH] Update release action --- .github/workflows/release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0c1fd3..a9b7528 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,11 @@ on: # yamllint disable-line rule:truthy description: Tag to create required: true type: string + draft: + description: Create / update as draft + default: true + required: true + type: boolean # Workflow jobs jobs: @@ -45,5 +50,9 @@ jobs: tag: ${{ inputs.tag }} #${{ github.ref_name }} commit: main prerelease: true - draft: true - generateReleaseNotes: true \ No newline at end of file + draft: ${{ inputs.draft }} + generateReleaseNotes: true + allowUpdates: true + replacesArtifacts: true + omitPrereleaseDuringUpdate: true + omitNameDuringUpdate: true