diff --git a/Makefile b/Makefile index e9ca36da4..199628e3b 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ -publish: +version: @poetry version $(v) @git add pyproject.toml @git commit -m "Version bump v$$(poetry version -s)" + @git push origin release/v$$(poetry version -s) + +publish: @git tag v$$(poetry version -s) - @git push @git push --tags @poetry build - @poetry publish \ No newline at end of file + @poetry publish