mirror of
https://github.com/moparisthebest/mail
synced 2024-12-21 23:08:50 -05:00
Update aws release script to change git branches automatically
This commit is contained in:
parent
1fbb6b0c91
commit
84ba1e5c44
@ -4,6 +4,10 @@
|
||||
cd `dirname $0`
|
||||
cd ..
|
||||
|
||||
# switch branch
|
||||
git checkout aws-dist
|
||||
git merge master --no-edit
|
||||
|
||||
# build and test
|
||||
rm -rf node_modules/
|
||||
npm cache clear
|
||||
@ -23,3 +27,6 @@ git commit -m "Update aws-dist"
|
||||
|
||||
# push to aws
|
||||
git aws.push
|
||||
|
||||
# switch back to master branch
|
||||
git checkout master
|
Loading…
Reference in New Issue
Block a user