fix: missing template.yml file

This commit is contained in:
2026-03-01 16:30:59 +01:00
parent e7878f5016
commit 953463ff62

View File

@@ -1,6 +1,4 @@
.ONESHELL: .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 .PHONY: issetup
issetup: issetup:
@@ -32,16 +30,7 @@ lint: issetup ## Run pep8, black, mypy linters.
.PHONY: release .PHONY: release
release: issetup ## Create a new tag for release. release: issetup ## Create a new tag for release.
@echo "WARNING: This operation will create a version tag and push to gitea" @./.gitea/conventional_commits/generate-version.sh
@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."
.PHONY: build .PHONY: build
build: issetup ## Create a new tag for release. build: issetup ## Create a new tag for release.