From ea4ecca90facd85b823f18c9f38e38c630c4cc9a Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Thu, 19 Sep 2024 21:40:36 +0200 Subject: [PATCH] [ci] Fetching tags after the build has completed. [skip ci] --- .github/workflows/stage-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index 80120022f59ba..86a379ee0dbef 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -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: @@ -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: