Skip to content

Commit af7f888

Browse files
andrewfrenchcollindutter
authored andcommitted
Makefile: split publish target to version + publish (#524)
1 parent ebd340a commit af7f888

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
publish:
1+
version:
22
@poetry version $(v)
33
@git add pyproject.toml
44
@git commit -m "Version bump v$$(poetry version -s)"
5+
@git push origin release/v$$(poetry version -s)
6+
7+
publish:
58
@git tag v$$(poetry version -s)
6-
@git push
79
@git push --tags
810
@poetry build
9-
@poetry publish
11+
@poetry publish

0 commit comments

Comments
 (0)