Skip to content

Commit

Permalink
Make set 'version' variable for GitHub release command
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Nov 28, 2024
1 parent d5aa0d0 commit 43dec1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test:
release:
$(MAKE) test && \
$(MAKE) dist && \
version=$$(grep version pyproject.toml | grep -o "[0-9.]\+") && \
twine upload dist/* && \
gh release create v$$version --title "Release v$$version" dist/*

Expand Down

0 comments on commit 43dec1c

Please sign in to comment.