PromucFlow_constructor/app/client/build.sh

10 lines
295 B
Bash
Raw Normal View History

2020-02-27 11:25:55 +00:00
#!/bin/sh
# GIT_BRANCH=$(git branch --no-color | grep -E '^\*' | sed 's/\*[^a-z]*//g')
2020-02-27 11:25:55 +00:00
GIT_SHA=$(eval git rev-parse HEAD)
echo $GIT_SHA
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
echo "build finished"