aboutsummaryrefslogtreecommitdiffstats
path: root/azure-pipelines/build-appimage
blob: b3a99baa3ffd8df5ad1befcbc183f667f4716089 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -ex
cd appimage
docker build -t qpdfbuild .
rm -rf build
mkdir build
cd ..
git clone .git appimage/build/qpdf
docker run --privileged --rm -v $PWD/appimage/build:/tmp/build qpdfbuild
mkdir distribution
cp -p appimage/build/qpdf/appimage/build/qpdf*AppImage* distribution
for i in distribution/*; do
    mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/')
done
sha256sum distribution/*