mirror of https://github.com/searxng/searxng.git
[mod] add target upload-pypi-test https://test.pypi.org/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
c2646df496
commit
dc544498d0
|
@ -243,8 +243,10 @@ pyenv-python: pyenvinstall
|
||||||
# [2] https://github.com/pypa/pip/pull/1519
|
# [2] https://github.com/pypa/pip/pull/1519
|
||||||
|
|
||||||
# https://github.com/pypa/twine
|
# https://github.com/pypa/twine
|
||||||
PHONY += upload-pypi
|
PHONY += upload-pypi upload-pypi-test
|
||||||
upload-pypi: pyclean pyenvinstall pybuild
|
upload-pypi: pyclean pyenvinstall pybuild
|
||||||
@$(PY_ENV_BIN)/twine upload $(PYDIST)/*
|
@$(PY_ENV_BIN)/twine upload $(PYDIST)/*
|
||||||
|
|
||||||
|
upload-pypi-test: pyclean pyenvinstall pybuild
|
||||||
|
@$(PY_ENV_BIN)/twine upload -r testpypi $(PYDIST)/*
|
||||||
.PHONY: $(PHONY)
|
.PHONY: $(PHONY)
|
||||||
|
|
Loading…
Reference in New Issue