Initial commit
This commit is contained in:
7
scripts/build.sh
Normal file
7
scripts/build.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
export REACT_APP_GIT_SHA=$(git rev-parse --short HEAD)
|
||||
export BUILD_DOMAIN=$(test -e .domains && cat .domains)
|
||||
[ -n "$BUILD_EXPIRE" ] && export REACT_APP_BUILD_EXPIRE=$(date -d "+${BUILD_EXPIRE}" +%s000)
|
||||
|
||||
yarn build
|
||||
Reference in New Issue
Block a user