diff --git a/Makefile b/Makefile index 13930da..2b121d0 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,16 @@ fix: format fixlint uv pip sync requirements-dev.txt uv pip install -e .[test] +VERSION := $(shell .venv/bin/deadcode --version); publish: .venv rm -fr dist/* .venv/bin/hatch build .venv/bin/hatch -v publish + git tag $(VERSION) + git push $(VERSION) + test: .venv .venv/bin/pytest -vv $(PYTEST_ME_PLEASE) diff --git a/pyproject.toml b/pyproject.toml index 5a3cbdd..f14a60b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "deadcode" -version = "2.4.0" +version = "2.4.1" authors = [ {name = "Albertas Gimbutas", email = "albertasgim@gmail.com"}, ]