From be07c1dff40deae885d2d9c023efab0f35736db1 Mon Sep 17 00:00:00 2001 From: chewingbever Date: Wed, 26 Aug 2020 15:17:37 +0200 Subject: [PATCH] Fixed publish recipe --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8eec702..2f30a78 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ package: README.md LICENSE setup.py test clean-setup @ "$(VENV)/bin/python" setup.py sdist bdist_wheel publish: package - @ [ git symbolic-ref HEAD --short = master ] && { \ + @ [ "$$(git symbolic-ref HEAD --short)" = master ] && { \ echo 'Publishing to PyPi...'; \ $(VENV)/bin/python -m twine upload dist/* ; \ } || { \