diff --git a/Makefile b/Makefile index ceadb7b..a1d1233 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,9 @@ $(DIST_FILES): $(MODULES) pyproject.toml publish: build ## Publishes the package, previously built with the build command, to the remote repository @git diff --name-only --exit-code poetry publish - PROJECT_RELEASE=$$(poetry run python -c "import networkx_query; print(networkx_query.__version__);") - @git tag "v$(PROJECT_RELEASE)" - @git push origin "v$(PROJECT_RELEASE)" + @PROJECT_RELEASE=$$(poetry run python -c "import networkx_query; print(networkx_query.__version__);") && \ + git tag "v$$PROJECT_RELEASE" && \ + git push origin "v$$PROJECT_RELEASE" @tools/open https://pypi.org/project/networkx-query