mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Meta: GitHub tag action: improve regex for version matching
This commit is contained in:
parent
fb0b22890d
commit
8e292f710b
2
.github/scripts/tag.sh
vendored
2
.github/scripts/tag.sh
vendored
|
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
head_tag=$(git describe --exact-match 2>/dev/null || true)
|
||||
|
||||
if [[ ${head_tag} =~ [\d{2}.\d{2}.\d+] ]]
|
||||
if [[ ${head_tag} =~ [\d{2}\.\d{2}\.\d+] ]]
|
||||
then
|
||||
echo "Current master already has version tag ${head_tag}"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue