mirror of
https://github.com/moparisthebest/mail
synced 2024-11-28 11:52:16 -05:00
Fix aws release script
This commit is contained in:
parent
e089139474
commit
427dee8214
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user