PromucFlow_constructor/app/client/build.sh

14 lines
395 B
Bash
Raw Normal View History

2020-02-27 11:25:55 +00:00
#!/bin/sh
# GIT_SHA=$(eval git rev-parse HEAD)
# GIT_BRANCH=$(git branch --no-color | grep -E '^\*' | sed 's/\*[^a-z]*//g')
2020-02-27 11:25:55 +00:00
# RELEASE="${GIT_BRANCH}_${GIT_SHA}"
# RELEASE=$(echo "$RELEASE" | sed -e 's/[\/\\\ .]/\-/g')
# echo $RELEASE
REACT_APP_SENTRY_RELEASE=$GIT_SHA craco --max-old-space-size=4096 build --config craco.build.config.js
2020-03-04 07:13:38 +00:00
2020-03-10 09:38:12 +00:00
rm ./build/static/js/*.js.map
2020-03-04 07:13:38 +00:00
echo "build finished"