Skip to content

Commit 60be63e

Browse files
committed
mk/yank.mk rename git branch master to main
these days that is the default on github. add new version number to git commit message; post-publish Signed-off-by: Antony Antony <antony@phenome.org>
1 parent 1ded73e commit 60be63e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/yang.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ publish: git-clean-check $(VBASE).xml $(VBASE).txt $(VBASE).html
3535
git add $(PBASE).xml $(PBASE).txt $(PBASE).html
3636
git commit -m "yank.mk publish-$(DTYPE)-$(VERSION)"
3737
git push origin $(PBRANCH)
38-
git checkout master
38+
git checkout main
3939
git merge --ff-only $(PBRANCH)
4040
sed -i -e 's/\#+RFC_VERSION: *\([0-9]*\)/\#+RFC_VERSION: $(NEXT_VERSION)/' $(ORG)
41-
git commit -am "yank.mk new version post-publish"
41+
git commit -am "yank.mk new version -$(NEXT_VERSION) post-publish"
4242

4343
#republish:
4444
# sed -i -e 's/\#+RFC_VERSION: *\([0-9]*\)/\#+RFC_VERSION: $(PREV_VERSION)/' $(ORG)

0 commit comments

Comments
 (0)