diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2e3f4ea --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## Version 0.1.0 - Release Notes + +- Initial release with base features diff --git a/Makefile b/Makefile index ccf4c0f..f090a61 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ VENV_NAME=.venv PYTHON=$(VENV_NAME)/bin/python PIP=$(VENV_NAME)/bin/pip +VERSION = $(shell cat VERSION) # For Windows, use these paths # PYTHON=$(VENV_NAME)/Scripts/python @@ -41,7 +42,17 @@ format: format_deps lint: lint_deps $(VENV_NAME)/bin/flake8 . +release: changelog + git tag -a v$(VERSION) -m "Release version $(VERSION)" + git push origin v$(VERSION) + gh release create v$(VERSION) --title "Release version $(VERSION)" --notes-file CHANGELOG.md + +changelog: + @echo "## Version $(VERSION) - Release Notes" > CHANGELOG.md + @echo "" >> CHANGELOG.md + @echo "- Initial release with base features" >> CHANGELOG.md + clean: rm -rf $(VENV_NAME) aliases.md aliases.html aliases.pdf -.PHONY: all venv install_deps generate_files install_dev_deps format_deps lint_deps format lint clean +.PHONY: all venv install_deps generate_files install_dev_deps format_deps lint_deps format lint release changelog clean diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6c6aa7c --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file