summaryrefslogtreecommitdiffhomepage
path: root/scripts/release
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/release')
-rwxr-xr-xscripts/release2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release b/scripts/release
index 19c0888b2..4a316fb53 100755
--- a/scripts/release
+++ b/scripts/release
@@ -12,7 +12,7 @@ done
git fetch --force --tags
# Get the latest Git tag
-latest_tag=$(git tag --sort=committerdate | grep -E '[0-9]' | tail -1)
+latest_tag=$(git tag --sort=committerdate | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | tail -1)
# If there is no tag, exit the script
if [ -z "$latest_tag" ]; then