We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a53b6 commit 6c225f3Copy full SHA for 6c225f3
Makefile
@@ -8,12 +8,12 @@ test-all:
8
9
publish: validate-git-status
10
npm publish
11
- git push origin master
12
- git push origin master --tags
+ git push origin main
+ git push origin --tags
13
14
validate-git-status:
15
- @ if [ "`git symbolic-ref --short HEAD`" != "master" ] ; \
16
- then echo "Not on the master branch!\n" ; exit 1 ; \
+ @ if [ "`git symbolic-ref --short HEAD`" != "main" ] ; \
+ then echo "Not on the main branch!\n" ; exit 1 ; \
17
fi
18
@ if ! git diff --exit-code --quiet ; \
19
then echo "Local differences!\n" ; git status ; exit 1 ; \
0 commit comments