🔨 In frontend build script get TAG value from env

This commit is contained in:
Vitaly Kornilov
2020-07-14 20:44:50 +03:00
parent e3e148c569
commit c0b7c0ccaa

View File

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