mirror of
https://github.com/containers/podman.git
synced 2025-06-21 01:19:15 +08:00
Actually set version for podman module / pypodman
The environment variable wasn't set, giving 0.0.0 It is a still a problem if you use python3 to build, rather than make. You *need* to set $PODMAN_VERSION, or your module and packages won't have the version. Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
@ -4,6 +4,7 @@ PODMAN_VERSION ?= '0.0.4'
|
|||||||
|
|
||||||
.PHONY: python-podman
|
.PHONY: python-podman
|
||||||
python-podman:
|
python-podman:
|
||||||
|
PODMAN_VERSION=$(PODMAN_VERSION) \
|
||||||
$(PYTHON) setup.py sdist bdist
|
$(PYTHON) setup.py sdist bdist
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
@ -16,6 +17,7 @@ integration:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
|
PODMAN_VERSION=$(PODMAN_VERSION) \
|
||||||
$(PYTHON) setup.py install --root ${DESTDIR}
|
$(PYTHON) setup.py install --root ${DESTDIR}
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
|
@ -4,6 +4,7 @@ PODMAN_VERSION ?= '0.0.4'
|
|||||||
|
|
||||||
.PHONY: python-pypodman
|
.PHONY: python-pypodman
|
||||||
python-pypodman:
|
python-pypodman:
|
||||||
|
PODMAN_VERSION=$(PODMAN_VERSION) \
|
||||||
$(PYTHON) setup.py sdist bdist
|
$(PYTHON) setup.py sdist bdist
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
@ -16,6 +17,7 @@ integration:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
|
PODMAN_VERSION=$(PODMAN_VERSION) \
|
||||||
$(PYTHON) setup.py install --root ${DESTDIR}
|
$(PYTHON) setup.py install --root ${DESTDIR}
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
|
Reference in New Issue
Block a user