0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

🔨 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
No known key found for this signature in database
GPG key ID: E51839A1997A5C99

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