mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-21 17:40:45 -06:00
build: add docs script to release
This commit is contained in:
parent
38a741b20e
commit
a1285a03ef
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue