build: add docs to release task

This commit is contained in:
Daylin Morgan 2022-09-19 00:11:03 -05:00
parent 9412fb2e2f
commit 98c70aff13

View file

@ -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})