diff --git a/deploy.sh b/deploy.sh index b8c6e54..f7768f2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,7 +5,12 @@ cd "$parent_path" || exit ./lint.sh -./version_bump.sh "$1" +if [ 1 -eq "$#" ] +then + ./version_bump.sh "$1" +else + ./version_bump.sh +fi cd "$parent_path/docker/app" || exit docker build --tag barker:latest .