1

change release naming scheme to v0.3.2

This commit is contained in:
Motiejus Jakštys 2021-10-20 08:13:36 +03:00
parent f6016ab830
commit b0ffde2d50

View File

@ -6,7 +6,7 @@ _err(){ >&2 echo "ERROR: $*"; exit 1; }
git status --porcelain | grep -q "" && git status --porcelain | grep -q "" &&
_err "working tree is dirty, commit your changes first." _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" _err "arg1 accepts the following formats: 1.0 1.0.0"
git tag | grep -q "^$1$" && git tag | grep -q "^$1$" &&