fix permission issue with rice-box

This commit is contained in:
1138-4EB 2019-01-02 03:45:19 +01:00
parent eb9cef7917
commit 668ce37661

View File

@ -87,6 +87,7 @@ buildAssets () {
yarn install
yarn build
echo "Run rice"
cd $REPO/http
rice embed-go
}
@ -177,6 +178,10 @@ build () {
rm -rf frontend/dist
fi;
if [ -f "http/rice-box.go" ]; then
rm -f http/rice-box.go
fi;
if [ "$(command -v git)" != "" ]; then
COMMIT_SHA="$(git rev-parse HEAD | cut -c1-8)"
else