Skip to content

Commit aabb042

Browse files
committed
improve push reminder
1 parent 63cdd5e commit aabb042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ distclean: clean
4848

4949
release:
5050
@if [[ `git status -s package.json` != "" ]]; then printf "Commit changes to package.json first:\n\n"; git --no-pager diff package.json; exit 1; fi
51-
@if [[ `git cherry -v` != "" ]]; then printf "Unpushed commits:\n\n"; git --no-pager log --branches --not --remotes; exit 1; fi
51+
@if [[ `git cherry -v` != "" ]]; then printf "Unpushed commits:\n"; git --no-pager log --oneline main --not --remotes="*/main"; exit 1; fi
5252
@if gh release view $(PACKAGE_VERSION) --json id > /dev/null; then printf "Already published $(PACKAGE_VERSION)\n"; exit 1; fi
5353
@echo
5454
@echo "Currently on NPM: $(NPM_VERSION)"

0 commit comments

Comments
 (0)