From bf5588ea0937f6b6a32fde47e9326f1aca08e8ef Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Fri, 15 Dec 2023 03:16:04 +0100 Subject: [PATCH] skip updates and retagging --- .../workflows/bundle_webappAnd_release_v3.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/bundle_webappAnd_release_v3.yml b/.github/workflows/bundle_webappAnd_release_v3.yml index 8ed331f45..afd9755bd 100644 --- a/.github/workflows/bundle_webappAnd_release_v3.yml +++ b/.github/workflows/bundle_webappAnd_release_v3.yml @@ -77,26 +77,14 @@ jobs: with: name: ${{ needs.build.outputs.webapp_bundle_name }} - - uses: actions/checkout@v3 - with: - fetch-tags: true - - name: Create Tag - run: | - if git rev-parse refs/tags/${{ needs.build.outputs.tag_name }} 2>/dev/null - then - git push --delete origin refs/tags/${{ needs.build.outputs.tag_name }} - fi - git tag -a ${{ needs.build.outputs.tag_name }} ${{ needs.build.outputs.commit_sha }} - git push origin ${{ needs.build.outputs.tag_name }} - - name: Create Release uses: ncipollo/release-action@v1 with: commit: ${{ needs.build.outputs.commit_sha }} tag: ${{ needs.build.outputs.tag_name }} - skipIfReleaseExists: false + skipIfReleaseExists: true prerelease: ${{ needs.build.outputs.is_main == 'false' }} - allowUpdates: true + allowUpdates: false generateReleaseNotes: true makeLatest: 'false' removeArtifacts: false