We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4adabf4 commit 2c4196fCopy full SHA for 2c4196f
composer.json
@@ -59,9 +59,9 @@
59
"composer test",
60
"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\"",
64
"tag=${tag#v}",
+ "if [ \"$tag\" != \"$appver\" ]; then",
+ "echo \"The most recent tag $tag does not match the application version $appver\\n\"",
65
"sed -i -E \"s/$appver/$tag/\" cghooks",
66
"exit 1",
67
"fi"
0 commit comments