From d5269b247915d535f7a39f4fff087e778e5e35d9 Mon Sep 17 00:00:00 2001 From: Jerome Guibert Date: Sat, 2 May 2020 02:05:53 +0200 Subject: [PATCH] fix makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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