We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958f072 commit fd39b31Copy full SHA for fd39b31
.github/workflows/component-release.yml
@@ -51,7 +51,7 @@ jobs:
51
# Extract version from PR description
52
PR_DESC="${{ github.event.pull_request.body }}"
53
# Get top tag from CHANGELOG.md
54
- TOP_TAG=$(grep -m 1 -oP '^##\s+\K[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md)
+ TOP_TAG=$(grep -m 1 -oP '^#### \[\K[^\]]+' CHANGELOG.md)
55
if [[ -z "$TOP_TAG" ]]; then
56
echo "No version found in CHANGELOG.md!"
57
exit 1
0 commit comments