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

This commit is contained in:
tanshu committed 2021-06-22 05:37:53 +05:30
1 parent 567fb836b3
commit 40aced4fa3
1 file changed
+5
+5
View File
@@ -5,7 +5,12 @@ cd "$parent_path" || exit
./lint.sh ./lint.sh
if [ 1 -eq "$#" ]
then
./version_bump.sh "$1" ./version_bump.sh "$1"
else
./version_bump.sh
fi
cd "$parent_path/docker/app" || exit cd "$parent_path/docker/app" || exit
docker build --tag barker:latest . docker build --tag barker:latest .