26
26
steps :
27
27
- name : Checkout repo
28
28
uses : actions/checkout@v4
29
- with :
30
- fetch-depth : ' 0'
31
29
- name : Extract version from branch name
32
30
if : github.event.pull_request.merged == true
33
31
run : |
@@ -42,10 +40,10 @@ jobs:
42
40
run : |
43
41
git config --local user.email "[email protected] "
44
42
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"
49
47
- name : Setup Java
50
48
uses : actions/setup-java@v3
51
49
with :
@@ -55,21 +53,37 @@ jobs:
55
53
run : sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
56
54
- name : Build and Stage Packages
57
55
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
64
62
- name : Generate Draft Release
65
- uses : softprops/action-gh- release@v2
63
+ uses : ncipollo/ release-action@v1
66
64
with :
67
- name : Selenium ${{ env.VERSION }}
68
- tag_name : selenium-${{ env.VERSION }}
65
+ artifacts : " build/dist/*.* "
66
+ bodyFile : " scripts/github-actions/release-notes.md "
69
67
draft : true
70
- generate_release_notes : true
68
+ generateReleaseNotes : true
69
+ name : Selenium ${{ env.VERSION }}
71
70
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/*.*
73
87
74
88
update-documentation :
75
89
needs : github-release
0 commit comments