Skip to content

Commit 210d16d

Browse files
Use extended regexp for portability
1 parent 3f111ab commit 210d16d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev-bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
version="${BASH_REMATCH[1]}"
2121
date="${BASH_REMATCH[2]}"
22-
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')"
22+
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')"
2323

2424
if [[ "$date" != $(date +"%Y-%m-%d") ]]; then
2525
echo "$date is not today!"

0 commit comments

Comments
 (0)