From 9814b1adc3ca57df55f3cc6ec777b9521ca4d526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Tue, 14 Dec 2021 15:09:30 +0100 Subject: [PATCH] Make appimage version in Dockerfile dynamic --- packages/docker/Dockerfile.bionic | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/docker/Dockerfile.bionic b/packages/docker/Dockerfile.bionic index 0053bd72..0f65b233 100644 --- a/packages/docker/Dockerfile.bionic +++ b/packages/docker/Dockerfile.bionic @@ -94,11 +94,11 @@ COPY . /home/builder/src WORKDIR /home/builder/src -RUN python setup.py -V - -RUN python setup.py sdist -RUN python setup.py --command-packages=stdeb.command bdist_deb -RUN dpkg-deb -I deb_dist/pybitmessage_0.6.3.2-1_amd64.deb +RUN VERSION=$(python setup.py -V) \ + && python setup.py sdist \ + && python setup.py --command-packages=stdeb.command bdist_deb \ + && dpkg-deb -I deb_dist/pybitmessage_${VERSION}-1_amd64.deb RUN buildscripts/appimage.sh -RUN out/PyBitmessage-0.6.3.2.glibc2.15-x86_64.AppImage --appimage-extract-and-run -t +RUN VERSION=$(python setup.py -V) \ + && out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage --appimage-extract-and-run -t