Move the appimage build to CMD, packages will be in /dist/ (run -v)

This commit is contained in:
Lee Miller 2022-04-11 00:56:36 +03:00
parent e048905b8b
commit 6b25a5481f
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -20,10 +20,11 @@ COPY . /home/builder/src
WORKDIR /home/builder/src WORKDIR /home/builder/src
RUN VERSION=$(python setup.py -V) \ CMD python setup.py sdist \
&& python setup.py sdist \
&& python setup.py --command-packages=stdeb.command bdist_deb \ && python setup.py --command-packages=stdeb.command bdist_deb \
&& dpkg-deb -I deb_dist/pybitmessage_${VERSION}-1_amd64.deb \ && dpkg-deb -I deb_dist/*.deb \
&& cp deb_dist/*.deb /dist/ \
&& ln -s /dist out \
&& buildscripts/appimage.sh && buildscripts/appimage.sh
############################################################################### ###############################################################################