generated from Templates/Docker_Image
fix: broken version increment logic refs NOISSUE
This commit is contained in:
11
Makefile
11
Makefile
@@ -30,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}" > n8n_ollama/VERSION
|
||||
@$(ENV_PREFIX)gitchangelog > HISTORY.md
|
||||
@git add n8n_ollama/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