Skip to content

Commit

Permalink
[ci] Continuing if tag already exists
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
diemol committed Sep 19, 2024
1 parent dc05aef commit f08149c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/stage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit f08149c

Please sign in to comment.