Add pretection against accidential 1.0 release
This commit is contained in:
@@ -24,6 +24,9 @@ major)
|
|||||||
((major++)) || true
|
((major++)) || true
|
||||||
minor=0
|
minor=0
|
||||||
patch=0
|
patch=0
|
||||||
|
|
||||||
|
printf '%s\n' "Are you sure you want to release 1.x?" >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
minor)
|
minor)
|
||||||
((minor++)) || true
|
((minor++)) || true
|
||||||
|
|||||||
Reference in New Issue
Block a user