fix: When version was not bumped, deploy updated the version to blank

This commit is contained in:
Amritanshu Agrawal 2021-06-22 05:34:11 +05:30
parent 567fb836b3
commit 40aced4fa3

View File

@ -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 .