Skip to content

Commit 62f8413

Browse files
committed
Reminder to push current branch (not just tags) for release
Let's also not assume that origin is the appropriate upstream remote (it may be a local fork).
1 parent 98e14e8 commit 62f8413

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ release/%: release-log/%
5050
@echo " " git add RELEASE-$(*)
5151
@echo " " git commit -m \"Add $(*) release notes\"
5252
@echo " " git tag -a -m \"Release MongoDB library $(*)\" $(*)
53-
@echo " " git push --tags
53+
@echo " " git push REMOTE `git rev-parse --abbrev-ref HEAD`
54+
@echo " " git push REMOTE --tags
5455
@echo " " make release-docs
5556

5657
docs: mkdocs apigen

0 commit comments

Comments
 (0)