diff --git a/frontend/scripts/build-app.sh b/frontend/scripts/build-app.sh index 774a93d7c..bfbadbcf3 100755 --- a/frontend/scripts/build-app.sh +++ b/frontend/scripts/build-app.sh @@ -3,7 +3,9 @@ source ~/.bashrc set -ex -TAG=`git log -n 1 --pretty=format:%H -- ./` +if [ -z "${TAG}" ]; then + export TAG=`git log -n 1 --pretty=format:%H -- ./` +fi yarn install