1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 02:12:17 -05:00

Fix aws release script

This commit is contained in:
Tankred Hase 2015-02-20 16:41:38 +01:00
parent e089139474
commit 427dee8214

View File

@ -1,8 +1,5 @@
#!/bin/sh #!/bin/sh
# abort if tests fail
set -e
# go to root # go to root
cd `dirname $0` cd `dirname $0`
cd .. cd ..
@ -18,6 +15,9 @@ git branch -D release/$1
git checkout -b release/$1 git checkout -b release/$1
git merge $2 --no-edit git merge $2 --no-edit
# abort if tests fail
set -e
# build and test # build and test
rm -rf node_modules/ rm -rf node_modules/
npm cache clear npm cache clear