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 4ab2ea5 commit b319067Copy full SHA for b319067
dev-bin/release.sh
@@ -54,7 +54,7 @@ fi
54
changelog=$(cat CHANGELOG.md)
55
56
regex='
57
-## v([0-9]+\.[0-9]+\.[0-9]+(.[a-z0-9]+)?) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
+## v([0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.]+)?) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
58
59
((.|
60
)*)
@@ -67,7 +67,7 @@ fi
67
68
version="${BASH_REMATCH[1]}"
69
date="${BASH_REMATCH[3]}"
70
-notes="$(echo "${BASH_REMATCH[4]}" | sed -n -E '/^## v[0-9]+\.[0-9]+\.[0-9]+/,$!p')"
+notes="$(echo "${BASH_REMATCH[4]}" | sed -n -E '/^## v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.]+)?/,$!p')"
71
72
echo "$notes"
73
if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
0 commit comments