Skip to content

Commit 45afc0a

Browse files
committed
Add 'master' warning
1 parent 79d87c2 commit 45afc0a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

id.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## Identify drafts, types and versions
22

3+
$(warning *************************************************)
4+
$(warning *** ***)
5+
$(warning *** You are using the 'master' branch. ***)
6+
$(warning *** Please update to use 'main'. ***)
7+
$(warning *** ***)
8+
$(warning *** sed -i~ s/master/main/ Makefile ***)
9+
$(warning *** ***)
10+
$(warning *************************************************)
11+
312
drafts := $(sort $(basename $(wildcard $(foreach pattern,? *-[-a-z]? *-?[a-z] *[a-z0-9]??,$(foreach ext,xml org md,draft-$(pattern).$(ext))))))
413

514
ifeq (0,$(words $(drafts)))

0 commit comments

Comments
 (0)