mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 01:56:37 +02:00
🔨 In frontend build script get TAG value from env
This commit is contained in:
parent
e3e148c569
commit
c0b7c0ccaa
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
set -ex
|
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
|
yarn install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue