fix permission issue with rice-box
This commit is contained in:
parent
eb9cef7917
commit
668ce37661
@ -87,6 +87,7 @@ buildAssets () {
|
|||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
|
echo "Run rice"
|
||||||
cd $REPO/http
|
cd $REPO/http
|
||||||
rice embed-go
|
rice embed-go
|
||||||
}
|
}
|
||||||
@ -177,6 +178,10 @@ build () {
|
|||||||
rm -rf frontend/dist
|
rm -rf frontend/dist
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
if [ -f "http/rice-box.go" ]; then
|
||||||
|
rm -f http/rice-box.go
|
||||||
|
fi;
|
||||||
|
|
||||||
if [ "$(command -v git)" != "" ]; then
|
if [ "$(command -v git)" != "" ]; then
|
||||||
COMMIT_SHA="$(git rev-parse HEAD | cut -c1-8)"
|
COMMIT_SHA="$(git rev-parse HEAD | cut -c1-8)"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user