mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-15 20:13:12 -06:00
Fix version tag regex
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
files='Cargo.toml'
|
files='Cargo.toml'
|
||||||
|
|
||||||
# Regexp use to decide if a git tag is a version label
|
# 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
|
# 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')"
|
zero="$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')"
|
||||||
|
|||||||
Reference in New Issue
Block a user