Skip to content

Commit

Permalink
[ci] Fetching tags after the build has completed.
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
diemol committed Sep 19, 2024
1 parent 54d8355 commit ea4ecca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/stage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ jobs:
run: |
git tag selenium-${{ env.VERSION }}
git push origin selenium-${{ env.VERSION }}
- name: Update Nightly Tag to Remove pre-release
run: |
git fetch --tags
git tag -d nightly || echo "Nightly tag not found"
git tag nightly
git push origin refs/tags/nightly --force
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand All @@ -59,6 +53,12 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- name: Build and Stage Packages
run: ./go all:package[--config=release]
- name: Update Nightly Tag to Remove pre-release
run: |
git fetch --tags
git tag -d nightly || echo "Nightly tag not found"
git tag nightly
git push origin refs/tags/nightly --force
- name: Generate Draft Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit ea4ecca

Please sign in to comment.