From 030fcf79186e5597269166bd8dfa888e1eda29d7 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Fri, 20 Sep 2024 12:42:11 +0200 Subject: [PATCH] [ci] Using the commit sha and quoting values in workflow [skip ci] --- .github/workflows/stage-release.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/stage-release.yml b/.github/workflows/stage-release.yml index f5a40dde83751..b40f7690347ee 100644 --- a/.github/workflows/stage-release.yml +++ b/.github/workflows/stage-release.yml @@ -54,12 +54,6 @@ 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: ncipollo/release-action@v1 with: @@ -67,24 +61,11 @@ jobs: bodyFile: "scripts/github-actions/release_header.md" draft: true generateReleaseNotes: true - name: Selenium ${{ env.VERSION }} + name: "Selenium ${{ env.VERSION }}" prerelease: false skipIfReleaseExists: true - tag: selenium-${{ env.VERSION }} - commit: trunk - # - name: Generate Draft Release - # uses: softprops/action-gh-release@v2 - # with: - # name: Selenium ${{ env.VERSION }} - # body: | - # ## Detailed Changelogs by Component - # **[Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)**     |     **[Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)**     |     **[DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)**     |     **[Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)**     |     **[JavaScript](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)**     |     **[IEDriver](https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG)** - #
- # tag_name: selenium-${{ env.VERSION }} - # draft: true - # generate_release_notes: true - # prerelease: false - # files: build/dist/*.* + tag: "selenium-${{ env.VERSION }}" + commit: "${{ github.sha }}" update-documentation: needs: github-release