Fixed publish recipe
parent
dcced15b3e
commit
be07c1dff4
2
Makefile
2
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/* ; \
|
||||
} || { \
|
||||
|
|
Reference in New Issue