File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1+ roll
Original file line number Diff line number Diff line change 1- .PHONY : all install list profiles test version
1+ .PHONY : all install list readme release templates test version
22
33
44PACKAGE := $(shell grep '^PACKAGE =' setup.py | cut -d "'" -f2)
55VERSION := $(shell head -n 1 $(PACKAGE ) /VERSION)
6+ MAINTAINER := $(shell head -n 1 MAINTAINER.md)
67
78
89all : list
@@ -21,6 +22,18 @@ readme:
2122 md_toc -p README.md github --header-levels 3
2223 sed -i ' /(#$(PACKAGE)-py)/,+2d' README.md
2324
25+ release :
26+ git checkout master
27+ git pull origin
28+ git fetch -p
29+ git commit -a -m ' v$(VERSION)'
30+ git tag -a v$(VERSION ) -m ' v$(VERSION)'
31+ git push --follow-tags
32+
33+ templates :
34+ sed -i -E " s/@(\w*)/@$( MAINTAINER) /" .github/issue_template.md
35+ sed -i -E " s/@(\w*)/@$( MAINTAINER) /" .github/pull_request_template.md
36+
2437test :
2538 pylama $(PACKAGE )
2639 tox
You can’t perform that action at this time.
0 commit comments