Skip to content

Commit ea4ecca

Browse files
committed
[ci] Fetching tags after the build has completed.
[skip ci]
1 parent 54d8355 commit ea4ecca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/stage-release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ jobs:
4444
run: |
4545
git tag selenium-${{ env.VERSION }}
4646
git push origin selenium-${{ env.VERSION }}
47-
- name: Update Nightly Tag to Remove pre-release
48-
run: |
49-
git fetch --tags
50-
git tag -d nightly || echo "Nightly tag not found"
51-
git tag nightly
52-
git push origin refs/tags/nightly --force
5347
- name: Setup Java
5448
uses: actions/setup-java@v3
5549
with:
@@ -59,6 +53,12 @@ jobs:
5953
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
6054
- name: Build and Stage Packages
6155
run: ./go all:package[--config=release]
56+
- name: Update Nightly Tag to Remove pre-release
57+
run: |
58+
git fetch --tags
59+
git tag -d nightly || echo "Nightly tag not found"
60+
git tag nightly
61+
git push origin refs/tags/nightly --force
6262
- name: Generate Draft Release
6363
uses: softprops/action-gh-release@v2
6464
with:

0 commit comments

Comments
 (0)