generated from Templates/Dotnet_Library
bugfixes
This commit is contained in:
parent
e3c18bed49
commit
553010ec7a
@ -17,6 +17,7 @@ Changelog
|
|||||||
- Release: version 🚀 [Simon Diesenreiter]
|
- Release: version 🚀 [Simon Diesenreiter]
|
||||||
- Release: version 🚀 [Simon Diesenreiter]
|
- Release: version 🚀 [Simon Diesenreiter]
|
||||||
- Release: version 🚀 [Simon Diesenreiter]
|
- Release: version 🚀 [Simon Diesenreiter]
|
||||||
|
- Release: version 🚀 [Simon Diesenreiter]
|
||||||
- ✅ Ready to clone and code. [simon]
|
- ✅ Ready to clone and code. [simon]
|
||||||
- Init project. [Simon Diesenreiter]
|
- Init project. [Simon Diesenreiter]
|
||||||
- Initial commit. [Projects <>]
|
- Initial commit. [Projects <>]
|
||||||
|
15
Makefile
15
Makefile
@ -1,3 +1,5 @@
|
|||||||
|
.ONESHELL:
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Show the help.
|
help: ## Show the help.
|
||||||
@echo "Usage: make <target>"
|
@echo "Usage: make <target>"
|
||||||
@ -36,13 +38,12 @@ clean: ## Clean unused files.
|
|||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: ## Create a new tag for release.
|
release: ## Create a new tag for release.
|
||||||
@echo "WARNING: This operation will create a version tag and push to gitea"
|
@echo "WARNING: This operation will create a version tag and push to gitea"
|
||||||
@read -p "Version? (provide the next x.y.z semver) : " TAG
|
@read -p "Version? (provide the next x.y.z semver) : " TAG; echo "$$TAG" > project_name/VERSION
|
||||||
@echo "$${TAG}" > DotnetTestLib/VERSION
|
@gitchangelog > HISTORY.md
|
||||||
@$(ENV_PREFIX)gitchangelog > HISTORY.md
|
@git add project_name/VERSION HISTORY.md
|
||||||
@git add DotnetTestLib/VERSION HISTORY.md
|
@git commit -m "release: version $$(cat project_name/VERSION) 🚀"
|
||||||
@git commit -m "release: version $${TAG} 🚀"
|
@echo "creating git tag : $$(cat project_name/VERSION)"
|
||||||
@echo "creating git tag : $${TAG}"
|
@git tag $$(cat project_name/VERSION)
|
||||||
@git tag $${TAG}
|
|
||||||
@git push -u origin HEAD --tags
|
@git push -u origin HEAD --tags
|
||||||
@echo "Gitea Actions will detect the new tag and release the new version."
|
@echo "Gitea Actions will detect the new tag and release the new version."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user