Meta: GitHub tag action: improve regex for version matching

This commit is contained in:
carlfriedrich 2022-11-24 15:00:12 +01:00
parent fb0b22890d
commit 8e292f710b

View file

@ -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