forked from MapComplete/MapComplete
Fix build script
This commit is contained in:
parent
40ba59651a
commit
7903a916e2
1 changed files with 3 additions and 3 deletions
|
@ -23,11 +23,11 @@ fi
|
||||||
cp -r assets/layers/ dist/assets/layers/
|
cp -r assets/layers/ dist/assets/layers/
|
||||||
cp -r assets/themes/ dist/assets/themes/
|
cp -r assets/themes/ dist/assets/themes/
|
||||||
cp -r assets/svg/ dist/assets/svg/
|
cp -r assets/svg/ dist/assets/svg/
|
||||||
SRC_MAPS="--no-source-maps"
|
|
||||||
|
|
||||||
BRANCH=${git rev-parse --abbrev-ref HEAD}
|
SRC_MAPS="--no-source-maps"
|
||||||
|
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
||||||
echo "The branch name is $BRANCH"
|
echo "The branch name is $BRANCH"
|
||||||
if [ $BRANCH ="develop" ]
|
if [ $BRANCH = "develop" ]
|
||||||
then
|
then
|
||||||
SRC_MAPS=""
|
SRC_MAPS=""
|
||||||
echo "Source maps are enabled"
|
echo "Source maps are enabled"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue