From f08149cae9f06f5c2978e865792e43f2b0c9fae9 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Thu, 19 Sep 2024 22:39:05 +0200 Subject: [PATCH] [ci] Continuing if tag already exists [skip ci] --- .github/workflows/stage-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index c588f83447ab0..cfacce6185749 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -28,7 +28,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: '0' - ref: 'trunk' - name: Extract version from branch name if: github.event.pull_request.merged == true run: | @@ -45,8 +44,8 @@ jobs: git config --local user.name "Selenium CI Bot" - name: Tag Release run: | - git tag selenium-${{ env.VERSION }} - git push origin selenium-${{ env.VERSION }} + git tag selenium-${{ env.VERSION }} || echo "Tag already exists" + git push origin selenium-${{ env.VERSION }} || echo "Tag already exists remotely" - name: Setup Java uses: actions/setup-java@v3 with: