2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-05 04:47:53 +00:00
qpdf/azure-pipelines/build-appimage

16 lines
404 B
Plaintext
Raw Normal View History

2018-10-13 16:07:16 +00:00
#!/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
2018-10-13 16:07:16 +00:00
mkdir distribution
cp -p appimage/build/qpdf/appimage/build/qpdf*AppImage* distribution
2018-10-13 16:07:16 +00:00
for i in distribution/*; do
mv $i $(echo $i | sed -e 's/\.AppImage/-ci.AppImage/')
done
sha256sum distribution/*