Fix version tag regex

This commit is contained in:
2024-10-06 16:17:29 -05:00
parent f8da0a647b
commit 50de07ef28

View File

@@ -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 </dev/null | tr '[0-9a-f]' '0')"