Skip to content

Commit

Permalink
Create git tag on new version publish
Browse files Browse the repository at this point in the history
  • Loading branch information
albertas committed Aug 9, 2024
1 parent b545cbd commit 3fce658
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "deadcode"
version = "2.4.0"
version = "2.4.1"
authors = [
{name = "Albertas Gimbutas", email = "[email protected]"},
]
Expand Down

0 comments on commit 3fce658

Please sign in to comment.