Skip to content

Commit

Permalink
Release commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan committed Oct 27, 2024
1 parent eee1c04 commit 6889693
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@ tag:
pdm run hatch version "${v}"
git tag -a ${v} -m "${v}"

release:
git add . && git commit -m "Bump version" && git push origin $(git describe --tags $(git rev-list --tags --max-count=1))
release-patch:
hatch version patch
git add . && git commit -m "Bump version"
git push origin $(git describe --tags $(git rev-list --tags --max-count=1))

release-minor:
hatch version minor
git add . && git commit -m "Bump version"
git push origin $(git describe --tags $(git rev-list --tags --max-count=1))

mypy:
pdm run mypy src

0 comments on commit 6889693

Please sign in to comment.