File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 64
64
attributes :
65
65
label : Selenium Grid chart version (chart version)
66
66
description : What version of Selenium Grid chart are you using?
67
- placeholder : 0.30.0 ?
67
+ placeholder : 0.31.1 ?
68
68
validations :
69
69
required : false
Original file line number Diff line number Diff line change 13
13
required : false
14
14
type : boolean
15
15
default : false
16
+ skip-commit :
17
+ description : ' Skip the commit'
18
+ required : false
19
+ type : boolean
20
+ default : false
16
21
push :
17
22
branches :
18
23
- trunk
@@ -121,18 +126,27 @@ jobs:
121
126
github_token : ${{ secrets.GITHUB_TOKEN }}
122
127
delete_release : true
123
128
- name : Commit files
129
+ if : env.LATEST_TAG != env.NEXT_TAG && github.event.inputs.skip-commit != 'true'
124
130
run : |
125
131
git config --local user.email "[email protected] "
126
132
git config --local user.name "Selenium CI Bot"
127
133
git commit -m "Update tag in docs and files" -a
128
134
- name : Push changes
135
+ if : env.LATEST_TAG != env.NEXT_TAG && github.event.inputs.skip-commit != 'true'
129
136
uses : ad-m/github-push-action@master
130
137
with :
131
138
github_token : ${{ secrets.SELENIUM_CI_TOKEN }}
132
139
branch : trunk
133
140
- name : Create release notes (release_notes.md)
134
141
run : ./generate_release_notes.sh ${LATEST_TAG} origin/trunk ${GRID_VERSION} ${BUILD_DATE}
142
+ - name : Upload release notes
143
+ uses : actions/upload-artifact@main
144
+ with :
145
+ name : release_notes
146
+ path : ./release_notes.md
147
+ if-no-files-found : ignore
135
148
- name : Create Release
149
+ if : env.LATEST_TAG != env.NEXT_TAG && github.event.inputs.skip-commit != 'true'
136
150
id : create_release
137
151
uses : softprops/action-gh-release@master
138
152
with :
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ edge_upgrade_version:
238
238
239
239
# https://github.com/SeleniumHQ/docker-selenium/issues/992
240
240
# Additional tags for browser images
241
- tag_and_push_browser_images : tag_and_push_chrome_images tag_and_push_firefox_images tag_and_push_edge_images
241
+ tag_and_push_browser_images : tag_and_push_chrome_images tag_and_push_chromium_images tag_and_push_firefox_images tag_and_push_edge_images
242
242
243
243
tag_and_push_chrome_images :
244
244
./tag_and_push_browser_images.sh $(VERSION ) $(BUILD_DATE ) $(NAMESPACE ) $(PUSH_IMAGE ) chrome
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ EDGEDRIVER_VERSION=$(docker run --rm ${NAMESPACE}/node-edge:${TAG_VERSION} msedg
21
21
FIREFOX_VERSION=$( docker run --rm ${NAMESPACE} /node-firefox:${TAG_VERSION} firefox --version | awk ' {print $3}' )
22
22
GECKODRIVER_VERSION=$( docker run --rm ${NAMESPACE} /node-firefox:${TAG_VERSION} geckodriver --version | awk ' NR==1{print $2}' )
23
23
FFMPEG_VERSION=$( docker run --entrypoint=" " --rm ${NAMESPACE} /video:${FFMPEG_TAG_VERSION} -${BUILD_DATE} ffmpeg -version | awk ' {print $3}' | head -n 1)
24
- RCLONE_VERSION=$( docker run --entrypoint=" " --rm ${NAMESPACE} /video:${FFMPEG_TAG_VERSION} -${BUILD_DATE} rclone version | head -n 1 | awk ' {print $2}' ) | tr -d ' v'
24
+ RCLONE_VERSION=$( docker run --entrypoint=" " --rm ${NAMESPACE} /video:${FFMPEG_TAG_VERSION} -${BUILD_DATE} rclone version | head -n 1 | awk ' {print $2}' | tr -d ' v' )
25
25
JRE_VERSION=$( docker run --entrypoint=" " --rm ${NAMESPACE} /base:${TAG_VERSION} java --version | grep -oP ' \b\d+\.\d+\.\d+\b' | head -1)
26
26
FIREFOX_ARM64_VERSION=$( docker run --rm --platform linux/arm64 ${NAMESPACE} /node-firefox:${TAG_VERSION} firefox --version | awk ' {print $3}' )
27
27
CHROMIUM_VERSION=$( docker run --rm ${NAMESPACE} /node-chromium:${TAG_VERSION} chromium --version | awk ' {print $2}' )
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if [ "$latest_chart_app_version" == $LATEST_TAG ] && [ "$latest_chart_app_versio
52
52
echo -e " \033[0;32m NEXT_CHART_VERSION -> ${next_chart_version} \033[0m"
53
53
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
54
54
find . \( -type d -name .git -prune \) -o -type f -wholename ' */selenium-grid/Chart.yaml' -print0 | xargs -0 sed -i " s/${latest_chart_version} /${next_chart_version} /g"
55
- find . \( -type d -name .git -prune \) -o -type f -name ' bug_report.yaml ' -print0 | xargs -0 sed -i " s/${latest_chart_version} /${next_chart_version} /g"
55
+ find . \( -type d -name .git -prune \) -o -type f -wholename ' */ bug_report.yml ' -print0 | xargs -0 sed -i " s/${latest_chart_version} /${next_chart_version} /g"
56
56
fi
57
57
58
58
git diff | cat
You can’t perform that action at this time.
0 commit comments