We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d743fbe commit 1ba8a05Copy full SHA for 1ba8a05
composer.json
@@ -57,7 +57,7 @@
57
"pre-commit": "composer check-style",
58
"pre-push": [
59
"composer test",
60
- "appver=$(grep -o -P '\\d+\\.\\d+\\.\\d+(-alpha\\.\\d+)?' cghooks)",
+ "appver=$(grep -o -E '[0-9]+\\.[0-9]+\\.[0-9]+(-alpha\\.[0-9]+)?' cghooks)",
61
"tag=$(git tag | tail -n 1)",
62
"if [ \"$tag\" != \"v$appver\" ]; then",
63
"echo \"The most recent tag $tag does not match the application version $appver\\n\"",
0 commit comments