Move appimage dry run into buildscripts/appimage.sh like in winbuild

This commit is contained in:
Lee Miller 2022-04-07 11:41:00 +03:00
parent 4b8d04c420
commit e048905b8b
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 6 additions and 8 deletions

View File

@ -20,7 +20,9 @@ fi
if [ -f "out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage" ]; then
echo "Build Successful";
echo "Run out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage"
echo "Run out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage";
out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage -t
else
echo "Build Failed"
echo "Build Failed";
exit 1
fi

View File

@ -23,12 +23,8 @@ WORKDIR /home/builder/src
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 VERSION=$(python setup.py -V) \
&& out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage \
--appimage-extract-and-run -t
&& dpkg-deb -I deb_dist/pybitmessage_${VERSION}-1_amd64.deb \
&& buildscripts/appimage.sh
###############################################################################