summaryrefslogtreecommitdiff
path: root/contrib/python/pypodman/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/pypodman/Makefile')
-rw-r--r--contrib/python/pypodman/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/python/pypodman/Makefile b/contrib/python/pypodman/Makefile
index fb25776fa..8c9691996 100644
--- a/contrib/python/pypodman/Makefile
+++ b/contrib/python/pypodman/Makefile
@@ -1,5 +1,6 @@
PYTHON ?= /usr/bin/python3
DESTDIR := /
+PODMAN_VERSION ?= '0.0.4'
.PHONY: python-pypodman
python-pypodman:
@@ -17,6 +18,11 @@ integration:
install:
$(PYTHON) setup.py install --root ${DESTDIR}
+.PHONY: upload
+upload:
+ $(PODMAN_VERSION) $(PYTHON) setup.py sdist bdist_wheel
+ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
+
.PHONY: clobber
clobber: uninstall clean