Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sleicht committed Jun 13, 2024
1 parent e485f2c commit 7939aa2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Version 0.1.0 - Release Notes

- Initial release with base features
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0

0 comments on commit 7939aa2

Please sign in to comment.