mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-11-09 19:13:14 -06:00
build: add docs to release task
This commit is contained in:
parent
9412fb2e2f
commit
98c70aff13
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -32,7 +32,8 @@ release: version-check
|
||||||
$(call msg,Release Project)
|
$(call msg,Release Project)
|
||||||
@./generate.py $(VERSION) > task.mk
|
@./generate.py $(VERSION) > task.mk
|
||||||
@sed -i 's/task.mk\/.*\/task.mk/task.mk\/v$(VERSION)\/task.mk/g' README.md
|
@sed -i 's/task.mk\/.*\/task.mk/task.mk\/v$(VERSION)\/task.mk/g' README.md
|
||||||
@git add task.mk README.md
|
@sed -i 's/task.mk\/.*\/task.mk/task.mk\/v$(VERSION)\/task.mk/g' docs/index.md
|
||||||
|
@git add task.mk README.md docs/index.md
|
||||||
@git commit -m "release: v$(VERSION)" --no-verify
|
@git commit -m "release: v$(VERSION)" --no-verify
|
||||||
@git tag v$(VERSION)
|
@git tag v$(VERSION)
|
||||||
|
|
||||||
|
@ -78,7 +79,6 @@ endef
|
||||||
|
|
||||||
EPILOG = \nfor more info: gh.dayl.in/task.mk
|
EPILOG = \nfor more info: gh.dayl.in/task.mk
|
||||||
PRINT_VARS := VERSION
|
PRINT_VARS := VERSION
|
||||||
|
|
||||||
-include .task.mk
|
-include .task.mk
|
||||||
.task.mk: $(TEMPLATES) generate.py
|
.task.mk: $(TEMPLATES) generate.py
|
||||||
$(call tprint,{a.b_yellow}re-jinjaing the local .task.mk{a.end})
|
$(call tprint,{a.b_yellow}re-jinjaing the local .task.mk{a.end})
|
||||||
|
|
Loading…
Reference in a new issue