Merge pull request #277 from Monogramm/tag-from-env-in-front-build-script

🔨 In frontend build script get TAG value from environment.
This commit is contained in:
Andrey Antukh
2020-07-21 12:26:38 +02:00
committed by GitHub

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