Skip to content

Commit 030fcf7

Browse files
committed
[ci] Using the commit sha and quoting values in workflow
[skip ci]
1 parent 2d8e47d commit 030fcf7

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/stage-release.yml

+3-22
Original file line numberDiff line numberDiff line change
@@ -54,37 +54,18 @@ jobs:
5454
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
5555
- name: Build and Stage Packages
5656
run: ./go all:package[--config=release]
57-
# - name: Update Nightly Tag to Remove pre-release
58-
# run: |
59-
# git fetch --tags
60-
# git tag -d nightly || echo "Nightly tag not found"
61-
# git tag nightly
62-
# git push origin refs/tags/nightly --force
6357
- name: Generate Draft Release
6458
uses: ncipollo/release-action@v1
6559
with:
6660
artifacts: "build/dist/*.*"
6761
bodyFile: "scripts/github-actions/release_header.md"
6862
draft: true
6963
generateReleaseNotes: true
70-
name: Selenium ${{ env.VERSION }}
64+
name: "Selenium ${{ env.VERSION }}"
7165
prerelease: false
7266
skipIfReleaseExists: true
73-
tag: selenium-${{ env.VERSION }}
74-
commit: trunk
75-
# - name: Generate Draft Release
76-
# uses: softprops/action-gh-release@v2
77-
# with:
78-
# name: Selenium ${{ env.VERSION }}
79-
# body: |
80-
# ## Detailed Changelogs by Component
81-
# <img src="https://www.selenium.dev/images/programming/java.svg" width="20" height="20"> **[Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)** &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;<img src="https://www.selenium.dev/images/programming/python.svg" width="20" height="20"> **[Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)** &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;<img src="https://www.selenium.dev/images/programming/csharp.svg" width="20" height="20"> **[DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)** &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;<img src="https://www.selenium.dev/images/programming/ruby.svg" width="20" height="20"> **[Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)** &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;<img src="https://www.selenium.dev/images/programming/javascript.svg" width="20" height="20"> **[JavaScript](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)** &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;<img src="https://www.selenium.dev/images/browsers/internet-explorer.svg" width="20" height="20"> **[IEDriver](https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG)**
82-
# <br>
83-
# tag_name: selenium-${{ env.VERSION }}
84-
# draft: true
85-
# generate_release_notes: true
86-
# prerelease: false
87-
# files: build/dist/*.*
67+
tag: "selenium-${{ env.VERSION }}"
68+
commit: "${{ github.sha }}"
8869

8970
update-documentation:
9071
needs: github-release

0 commit comments

Comments
 (0)