change release naming scheme to v0.3.2
This commit is contained in:
parent
f6016ab830
commit
b0ffde2d50
2
release
2
release
@ -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$" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user