Skip to content

Commit b9f72dd

Browse files
committed
added release target
1 parent 840a6d6 commit b9f72dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ clean: ## cleans dist and site folders
2727
.PHONY: test
2828
test: ## runs the tests with coverage report
2929
pytest --cov=timebombs --cov-report=term-missing --cov-report=xml -o console_output_style=progress tests
30+
31+
.PHONY: release
32+
release: ## creates a release on github (e.g. make release name=v0.20)
33+
poetry build
34+
gh release create $(name) --generate-notes
35+
git fetch --all
36+
poetry publish

0 commit comments

Comments
 (0)