File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ echo "-- local version: $VERSION"
16
16
17
17
echo " -- commit and tag with v$VERSION "
18
18
git add package.json
19
- git commit -m " chore(release): v$VERSION "
19
+ git commit -m " chore(release): cut v$VERSION release "
20
20
git tag -m " v$VERSION " v$VERSION
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ BUMP_TYPE=$1
12
12
13
13
# Enable tracing and exit on first failure
14
14
set -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
+
15
21
# Normalize working dir to script dir
16
22
cd ` dirname $0 ` /../..
17
23
@@ -27,12 +33,10 @@ cd `dirname $0`/../..
27
33
28
34
echo " -- push to Github"
29
35
# push to github
30
- git push
36
+ git push --all
31
37
32
38
# Update code.angularjs.org
33
39
./scripts/code.angularjs.org/publish.sh
34
40
35
41
# Update bower
36
42
./scripts/bower/publish.sh
37
-
38
-
You can’t perform that action at this time.
0 commit comments