mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
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:
commit
02257c08bd
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue