Ensure version is set when uploading to pypi
parent
c381eb4b87
commit
af31f2f966
6
Makefile
6
Makefile
|
|
@ -20,9 +20,15 @@ package:
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py sdist bdist_wheel
|
||||||
|
|
||||||
upload-testpypi:
|
upload-testpypi:
|
||||||
|
ifndef VERSION
|
||||||
|
$(error VERSION is not set)
|
||||||
|
endif
|
||||||
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
|
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
|
||||||
|
|
||||||
i-have-tested-with-testpypi-and-am-ready-to-release:
|
i-have-tested-with-testpypi-and-am-ready-to-release:
|
||||||
|
ifndef VERSION
|
||||||
|
$(error VERSION is not set)
|
||||||
|
endif
|
||||||
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*
|
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*
|
||||||
|
|
||||||
install-testpypi:
|
install-testpypi:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue