Skip to content

Commit 11083af

Browse files
committed
fix(release-pipeline): grep match spaces or tab in SQLITE_JS_VERSION
1 parent 9bee027 commit 11083af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
id: tag
7979
run: |
8080
FILE="src/sqlitejs.h"
81-
VERSION=$(grep -oP '#define SQLITE_JS_VERSION "\K[^"]+' "$FILE")
81+
VERSION=$(grep -oP '#define SQLITE_JS_VERSION\s+"\K[^"]+' "$FILE")
8282
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
8383
echo "version=$VERSION" >> $GITHUB_OUTPUT
8484
exit 0

0 commit comments

Comments
 (0)