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 1bc8187 commit 366f3d3Copy full SHA for 366f3d3
.github/workflows/do-release.yml
@@ -14,7 +14,7 @@ jobs:
14
- uses: actions/checkout@v3
15
- name: Create GitHub release
16
run: |
17
- VERSION=$(grep -oP '^# \K[0-9.]+([.\-_][a-zA-Z0-9.\-_]+)?' CHANGELOG.md | head -n 1)
+ VERSION=$(grep -oP '^# \K[0-9.]+([.\-_]?[a-zA-Z0-9.\-_]+)?' CHANGELOG.md | head -n 1)
18
# Take the lines between the first two headers from CHANGELOG.md,
19
# and use it as a description for the new release.
20
CHANGELOG=$(awk 'BEGIN { first = 0 } /^# / { if (first == 0) { first = 1 } else { exit } } /^[^#]/ { print $0 }' CHANGELOG.md)
0 commit comments