Skip to content

Commit

Permalink
[feat] added auto-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
8baller committed Feb 1, 2024
1 parent 3e6e40b commit 4a7d438
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ all: fmt lint tests

test-docs:
echo making docs

release:
$(eval current_version := $(shell poetry run tbump current-version))
@echo "Current version is $(current_version)"
$(eval new_version := $(shell python -c "import semver; print(semver.bump_patch('$(current_version)'))"))
@echo "New version is $(new_version)"
poetry run tbump $(new_version)

0 comments on commit 4a7d438

Please sign in to comment.