From a929512144bfa434e8b9950015d6996f19ede8bc Mon Sep 17 00:00:00 2001 From: yanghua Date: Fri, 11 Oct 2024 19:24:07 +0800 Subject: [PATCH] Fix release script --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5d94c19..510d586 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,7 @@ clean: ## Clean unused files. release: ## Create a new tag for release. @echo "WARNING: This operation will create s version tag and push to github" @read -p "Version? (provide the next x.y.z semver) : " TAG; \ + git checkout -b $${TAG}; \ echo "$${TAG}" > tosfs/VERSION; \ git log --pretty=format:"%h - %s (%an, %ad)" --date=short > HISTORY.md; \ git add tosfs/VERSION HISTORY.md; \