File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ echo "-- local version: $VERSION"
1616
1717echo " -- commit and tag with v$VERSION "
1818git add package.json
19- git commit -m " chore(release): v$VERSION "
19+ git commit -m " chore(release): cut v$VERSION release "
2020git tag -m " v$VERSION " v$VERSION
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ BUMP_TYPE=$1
1212
1313# Enable tracing and exit on first failure
1414set -xe
15+
16+ # Jump onto the master branch and make sure we are using the latest
17+ git checkout -f master
18+ git merge --ff-only origin/master
19+
20+
1521# Normalize working dir to script dir
1622cd ` dirname $0 ` /../..
1723
@@ -27,12 +33,10 @@ cd `dirname $0`/../..
2733
2834echo " -- push to Github"
2935# push to github
30- git push
36+ git push --all
3137
3238# Update code.angularjs.org
3339./scripts/code.angularjs.org/publish.sh
3440
3541# Update bower
3642./scripts/bower/publish.sh
37-
38-
You can’t perform that action at this time.
0 commit comments