feat(concom): fix tag generation ref: NOISSUE

This commit is contained in:
2024-11-30 20:05:52 +01:00
parent 81611c0dd1
commit a5b1854956
4 changed files with 106 additions and 15 deletions

View File

@@ -46,14 +46,7 @@ clean: issetup ## Clean unused files.
.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" > DotnetTestLib/VERSION
@gitchangelog > HISTORY.md
@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."
. ./.gitea/conventional_commits/generate-version.sh
.PHONY: docs
docs: issetup ## Build the documentation.