|
@ -33,8 +33,6 @@ function setCommand() { |
|
|
|
|
|
|
|
|
############# main |
|
|
############# main |
|
|
|
|
|
|
|
|
set -euo pipefail # EXITS when any error occurs |
|
|
|
|
|
|
|
|
|
|
|
# check git covered |
|
|
# check git covered |
|
|
REPOSITORY=$(git config --get remote.origin.url) |
|
|
REPOSITORY=$(git config --get remote.origin.url) |
|
|
if [[ "$?" -ne 0 ]]; then |
|
|
if [[ "$?" -ne 0 ]]; then |
|
@ -112,7 +110,6 @@ case $COMMAND in |
|
|
"minor") |
|
|
"minor") |
|
|
let "MINOR++" |
|
|
let "MINOR++" |
|
|
let "PATCH=0" |
|
|
let "PATCH=0" |
|
|
echo A |
|
|
|
|
|
;; |
|
|
;; |
|
|
"patch") |
|
|
"patch") |
|
|
let "PATCH++" |
|
|
let "PATCH++" |
|
|