2626 steps :
2727 - name : Checkout repo
2828 uses : actions/checkout@v4
29- with :
30- fetch-depth : ' 0'
3129 - name : Extract version from branch name
3230 if : github.event.pull_request.merged == true
3331 run : |
@@ -42,10 +40,10 @@ jobs:
4240 run : |
4341 git config --local user.email "[email protected] " 4442 git config --local user.name "Selenium CI Bot"
45- - name : Tag Release
46- run : |
47- git tag selenium-${{ env.VERSION }} || echo "Tag already exists"
48- git push origin selenium-${{ env.VERSION }} || echo "Tag already exists remotely"
43+ # - name: Tag Release
44+ # run: |
45+ # git tag selenium-${{ env.VERSION }} || echo "Tag already exists"
46+ # git push origin selenium-${{ env.VERSION }} || echo "Tag already exists remotely"
4947 - name : Setup Java
5048 uses : actions/setup-java@v3
5149 with :
@@ -55,21 +53,37 @@ jobs:
5553 run : sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
5654 - name : Build and Stage Packages
5755 run : ./go all:package[--config=release]
58- - name : Update Nightly Tag to Remove pre-release
59- run : |
60- git fetch --tags
61- git tag -d nightly || echo "Nightly tag not found"
62- git tag nightly
63- git push origin refs/tags/nightly --force
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
6462 - name : Generate Draft Release
65- uses : softprops/action-gh- release@v2
63+ uses : ncipollo/ release-action@v1
6664 with :
67- name : Selenium ${{ env.VERSION }}
68- tag_name : selenium-${{ env.VERSION }}
65+ artifacts : " build/dist/*.* "
66+ bodyFile : " scripts/github-actions/release-notes.md "
6967 draft : true
70- generate_release_notes : true
68+ generateReleaseNotes : true
69+ name : Selenium ${{ env.VERSION }}
7170 prerelease : false
72- files : build/dist/*.*
71+ skipIfReleaseExists : true
72+ tag : selenium-${{ env.VERSION }}
73+ commit : trunk
74+ # - name: Generate Draft Release
75+ # uses: softprops/action-gh-release@v2
76+ # with:
77+ # name: Selenium ${{ env.VERSION }}
78+ # body: |
79+ # ## Detailed Changelogs by Component
80+ # <img src="https://www.selenium.dev/images/programming/java.svg" width="20" height="20"> **[Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)** | <img src="https://www.selenium.dev/images/programming/python.svg" width="20" height="20"> **[Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)** | <img src="https://www.selenium.dev/images/programming/csharp.svg" width="20" height="20"> **[DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)** | <img src="https://www.selenium.dev/images/programming/ruby.svg" width="20" height="20"> **[Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)** | <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)** | <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)**
81+ # <br>
82+ # tag_name: selenium-${{ env.VERSION }}
83+ # draft: true
84+ # generate_release_notes: true
85+ # prerelease: false
86+ # files: build/dist/*.*
7387
7488 update-documentation :
7589 needs : github-release
0 commit comments