From b0ffde2d507a4719f8849312380d0b973141d6d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 20 Oct 2021 08:13:36 +0300 Subject: [PATCH] change release naming scheme to v0.3.2 --- release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release b/release index e37f571..2cf0baa 100755 --- a/release +++ b/release @@ -6,7 +6,7 @@ _err(){ >&2 echo "ERROR: $*"; exit 1; } git status --porcelain | grep -q "" && _err "working tree is dirty, commit your changes first." -[[ "$1" =~ ^([0-9]+)\.([0-9]+)(\.([0-9]+))?$ ]] || \ +[[ "$1" =~ ^v([0-9]+)\.([0-9]+)(\.([0-9]+))?$ ]] || \ _err "arg1 accepts the following formats: 1.0 1.0.0" git tag | grep -q "^$1$" &&