From bd3b411830a23856979dcb4b57617363f0f1f8d0 Mon Sep 17 00:00:00 2001 From: DC23 Date: Thu, 28 Nov 2024 22:18:58 +1100 Subject: [PATCH] Release creation workflow now respects event context settings for draft and pre-release. #76 --- .github/workflows/release-creation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-creation.yml b/.github/workflows/release-creation.yml index 6f50b94..0d45730 100644 --- a/.github/workflows/release-creation.yml +++ b/.github/workflows/release-creation.yml @@ -35,8 +35,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} name: ${{ github.event.release.name }} allowUpdates: true # Set this to false if you want to prevent updating existing releases - draft: false - prerelease: false + draft: ${{ github.event.release.draft }} + prerelease: ${{ github.event.release.prerelease }} artifacts: './system.json, ./basicfantasyrpg.zip' tag: ${{ github.event.release.tag_name }} - body: ${{ github.event.release.body }} + body: ${{ github.event.release.body }} \ No newline at end of file