From 953463ff62eb5e7804d63cd752e4bda47ca40dd4 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Sun, 1 Mar 2026 16:30:59 +0100 Subject: [PATCH] fix: missing template.yml file --- Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 0587870..1c0145c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ .ONESHELL: -ENV_PREFIX=$(shell python -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')") -USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes") .PHONY: issetup issetup: @@ -32,16 +30,7 @@ lint: issetup ## Run pep8, black, mypy linters. .PHONY: release release: issetup ## 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 - @$(ENV_PREFIX)gitchangelog > HISTORY.md - @git add project_name/VERSION HISTORY.md - @git commit -m "release: version $${TAG} 🚀" - @echo "creating git tag : $${TAG}" - @git tag $${TAG} - @git push -u origin HEAD --tags - @echo "Gitea Actions will detect the new tag and release the new version." + @./.gitea/conventional_commits/generate-version.sh .PHONY: build build: issetup ## Create a new tag for release.