From a02bc0c87f4b127c209ce83e5c5a3ed59af3e905 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Mon, 29 Jul 2024 00:39:55 -0400 Subject: [PATCH] update pipeline do delete tag if already exist for prerelease --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dd25ef..2cc6700 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,7 +147,8 @@ jobs: - name: On prerelease release notes if: ${{ inputs.release_type == 'prerelease' }} run: | - echo "RELEASE_NOTES=Testing version of app for specific feature." >> $GITHUB_ENV + echo "RELEASE_NOTES=Testing version of app for specific feature." >> $GITHUB_ENV + gh release delete ${{ github.event.inputs.tag_name }} --yes || true # Setup TAG_NAME, which is used as a general "name" - if: github.event_name == 'workflow_dispatch'