Skip to content

Commit 368fe92

Browse files
committed
Merge branch 'release/1.15.4'
2 parents 6165bf0 + 179cfea commit 368fe92

File tree

2 files changed

+423
-108
lines changed

2 files changed

+423
-108
lines changed

.github/workflows/component-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Clone the project and start release
3333
run: |
3434
set -e
35-
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} project
35+
git clone https://x-access-token:${{ secrets.RDKCM_RDKE }}@github.com/${{ github.repository }} project
3636
cd project
3737
git fetch --all
3838
git checkout main || git checkout -b main origin/main
@@ -51,7 +51,7 @@ jobs:
5151
# Extract version from PR description
5252
PR_DESC="${{ github.event.pull_request.body }}"
5353
# Get top tag from CHANGELOG.md
54-
TOP_TAG=$(grep -m 1 -oP '^#### \[\K[^\]]+' CHANGELOG.md)
54+
TOP_TAG=$(grep -m 1 -oP '^##\s+\K[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md)
5555
if [[ -z "$TOP_TAG" ]]; then
5656
echo "No version found in CHANGELOG.md!"
5757
exit 1

0 commit comments

Comments
 (0)