Skip to content

Commit d158dd1

Browse files
committed
chore(release.sh): push both the release commit and tag
1 parent 1147f21 commit d158dd1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/jenkins/release.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ cd `dirname $0`/../..
3232
./scripts/jenkins/bump-increment.sh $BUMP_TYPE
3333

3434
echo "-- push to Github"
35-
# push to github
36-
git push --all
35+
# push the commits to github
36+
git push origin master
37+
# push the release tag
38+
git push origin v`cat build/version.txt`
3739

3840
# Update code.angularjs.org
3941
./scripts/code.angularjs.org/publish.sh

0 commit comments

Comments
 (0)