Skip to content

Commit a496fc8

Browse files
committed
[ci] Update workflow deploy node/standalone browser versions
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent f31f08a commit a496fc8

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

.github/workflows/release-chrome-versions.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,15 @@ jobs:
177177
uses: peter-evans/create-pull-request@main
178178
with:
179179
token: ${{ secrets.SELENIUM_CI_TOKEN }}
180-
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
181-
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
182-
body: "This PR contains the CHANGELOG for Node/Standalone Chrome with specific browser versions: ${{ github.event.inputs.browser-versions }}"
180+
commit-message: |
181+
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
182+
183+
Browser versions: ${{ github.event.inputs.browser-versions }}
184+
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
185+
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
183186
committer: 'Selenium CI Bot <[email protected]>'
184187
author: 'Selenium CI Bot <[email protected]>'
185-
branch: browser-node-changelog
188+
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
186189
- name: Check outputs
187190
if: ${{ steps.cpr.outputs.pull-request-number }}
188191
run: |

.github/workflows/release-edge-versions.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,15 @@ jobs:
177177
uses: peter-evans/create-pull-request@main
178178
with:
179179
token: ${{ secrets.SELENIUM_CI_TOKEN }}
180-
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
181-
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
182-
body: "This PR contains the CHANGELOG for Node/Standalone Edge with specific browser versions: ${{ github.event.inputs.browser-versions }}"
180+
commit-message: |
181+
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
182+
183+
Browser versions: ${{ github.event.inputs.browser-versions }}
184+
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
185+
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
183186
committer: 'Selenium CI Bot <[email protected]>'
184187
author: 'Selenium CI Bot <[email protected]>'
185-
branch: browser-node-changelog
188+
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
186189
- name: Check outputs
187190
if: ${{ steps.cpr.outputs.pull-request-number }}
188191
run: |

.github/workflows/release-firefox-versions.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,15 @@ jobs:
177177
uses: peter-evans/create-pull-request@main
178178
with:
179179
token: ${{ secrets.SELENIUM_CI_TOKEN }}
180-
commit-message: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
181-
title: "[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}"
182-
body: "This PR contains the CHANGELOG for Node/Standalone Firefox with specific browser versions: ${{ github.event.inputs.browser-versions }}"
180+
commit-message: |
181+
[ci] Upload CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} version with Grid ${{ env.GRID_VERSION }}
182+
183+
Browser versions: ${{ github.event.inputs.browser-versions }}
184+
title: "[ci] CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} browser versions with Grid ${{ env.GRID_VERSION }}"
185+
body: "This PR contains the CHANGELOG for Node/Standalone ${{ env.BROWSER_NAME }} with specific browser versions: ${{ github.event.inputs.browser-versions }}"
183186
committer: 'Selenium CI Bot <[email protected]>'
184187
author: 'Selenium CI Bot <[email protected]>'
185-
branch: browser-node-changelog
188+
branch: browser-node-${{ env.BROWSER_NAME }}-changelog
186189
- name: Check outputs
187190
if: ${{ steps.cpr.outputs.pull-request-number }}
188191
run: |

update_tag_in_docs_and_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0
2121
find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${KEDA_TAG_PREV_VERSION}/${KEDA_TAG_VERSION}/g"
2222

2323
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
24-
find . \( -type d -name .git -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${LATEST_TAG}/${NEXT_TAG}/g"
24+
find . \( -type d -name .git -prune -o -type d -name 'CHANGELOG' -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${LATEST_TAG}/${NEXT_TAG}/g"
2525

2626
if [[ "$NEXT_TAG" == "latest" ]] || [[ "$NEXT_TAG" == "nightly" ]]; then
2727
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.

0 commit comments

Comments
 (0)