1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-22 07:18:49 -05:00

Update aws release script to change git branches automatically

This commit is contained in:
Tankred Hase 2014-10-20 16:41:19 +02:00
parent 1fbb6b0c91
commit 84ba1e5c44

View File

@ -4,6 +4,10 @@
cd `dirname $0` cd `dirname $0`
cd .. cd ..
# switch branch
git checkout aws-dist
git merge master --no-edit
# build and test # build and test
rm -rf node_modules/ rm -rf node_modules/
npm cache clear npm cache clear
@ -22,4 +26,7 @@ git add node_modules/ dist/
git commit -m "Update aws-dist" git commit -m "Update aws-dist"
# push to aws # push to aws
git aws.push git aws.push
# switch back to master branch
git checkout master