Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
geronimo-iia committed May 2, 2020
1 parent c311bb8 commit d5269b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit d5269b2

Please sign in to comment.