diff --git a/.hooks/pre-push.sh b/.hooks/pre-push.sh index a064af7..e45c674 100755 --- a/.hooks/pre-push.sh +++ b/.hooks/pre-push.sh @@ -41,7 +41,7 @@ files='Cargo.toml' # Regexp use to decide if a git tag is a version label -version_tag_regexp='^v?[0-9]{1,4}\.[0-9]{1,4}(\.[0-9]{1,4})?' +version_tag_regexp='^[0-9]{1,4}\.[0-9]{1,4}(\.[0-9]{1,4})?' # Create a string of '0' chars of appropriate length for the current git version zero="$(git hash-object --stdin