diff options
author | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2018-03-03 21:27:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-03 21:27:36 +0300 |
commit | 821d33704cb94a26619307d9e88a6ca51938cad9 (patch) | |
tree | d0f725e1e2a8c6bfaea33011c5dc9d533e21af9f /scripts | |
parent | 466e11f8828921c4b91d84eaa376242985c1e485 (diff) | |
parent | 9ccd3f0779559a6923cff5d1efa55934fcbf6420 (diff) |
Merge pull request #14040 from mauriciofauth/issue-13918
Add Yarn install to create-release script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-release.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/create-release.sh b/scripts/create-release.sh index a7ef79fbee..7973c07db0 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -273,6 +273,11 @@ if [ ! -d libraries/tcpdf ] ; then fi fi +if [ -f package.json ] ; then + echo "* Running Yarn" + yarn install --production +fi + # Remove git metadata rm .git find . -name .gitignore -print0 | xargs -0 -r rm -f @@ -328,6 +333,7 @@ for kit in $KITS ; do rm doc/html/.buildinfo doc/html/objects.inv # Javascript sources rm -rf js/vendor/openlayers/src/ + rm -rf node_modules fi # Remove developer scripts |