From a8025efe307dcef44304e37b8515a887a53859da Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Wed, 27 Nov 2024 21:38:49 +0100 Subject: [PATCH] update Makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 594dbd0..9f0cf92 100644 --- a/Makefile +++ b/Makefile @@ -38,12 +38,12 @@ clean: ## Clean unused files. .PHONY: release release: ## Create a new tag for release. @echo "WARNING: This operation will create a version tag and push to gitea" - @read -p "Version? (provide the next x.y.z semver) : " TAG; echo "$$TAG" > project_name/VERSION + @read -p "Version? (provide the next x.y.z semver) : " TAG; echo "$$TAG" > DotnetTestLib/VERSION @gitchangelog > HISTORY.md - @git add project_name/VERSION HISTORY.md - @git commit -m "release: version $$(cat project_name/VERSION) 🚀" - @echo "creating git tag : $$(cat project_name/VERSION)" - @git tag $$(cat project_name/VERSION) + @git add DotnetTestLib/VERSION HISTORY.md + @git commit -m "release: version $$(cat DotnetTestLib/VERSION) 🚀" + @echo "creating git tag : $$(cat DotnetTestLib/VERSION)" + @git tag $$(cat DotnetTestLib/VERSION) @git push -u origin HEAD --tags @echo "Gitea Actions will detect the new tag and release the new version."