From a1285a03efb1ade9082244185a58c441dd00ad6f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 25 Jan 2023 12:26:50 -0600 Subject: [PATCH] build: add docs script to release --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e295f39..42e54d7 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ assets: ## generate assets define release_sh ./generate.py $(subst v,,$(VERSION)) > task.mk sed -i 's/task.mk\/.*\/task.mk/task.mk\/$(VERSION)\/task.mk/g' README.md docs/index.md -sed -i 's/TASKMK_VERSION=.*/TASKMK_VERSION=$(VERSION)/' docs/init -git add task.mk README.md docs/index.md +sed -i 's/TASKMK_VERSION=.*/TASKMK_VERSION="$(VERSION)"/' docs/init +git add task.mk README.md docs/{index.md,init} git commit -m "release: $(VERSION)" --no-verify git tag $(VERSION) endef