Skip to content

Commit fd39b31

Browse files
authored
RDKEMW-4778: Update component-release.yml (#493)
1 parent 958f072 commit fd39b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/component-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 '^##\s+\K[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md)
54+
TOP_TAG=$(grep -m 1 -oP '^#### \[\K[^\]]+' CHANGELOG.md)
5555
if [[ -z "$TOP_TAG" ]]; then
5656
echo "No version found in CHANGELOG.md!"
5757
exit 1

0 commit comments

Comments
 (0)