fix: missing template.yml file
This commit is contained in:
13
Makefile
13
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.
|
||||
|
||||
Reference in New Issue
Block a user