mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-08 14:48:24 +00:00
Include AppImage update info
This commit is contained in:
parent
3618fdb13d
commit
6edbf8fa72
@ -140,7 +140,8 @@ cp -rLp ~/.gnupg/. /tmp/build/.gnupg
|
|||||||
docker run --privileged -ti --rm -v /tmp/build:/tmp/build qpdfbuild https://github.com/jberkenbilt/qpdf -b work
|
docker run --privileged -ti --rm -v /tmp/build:/tmp/build qpdfbuild https://github.com/jberkenbilt/qpdf -b work
|
||||||
|
|
||||||
The AppImage in /tmp/build/qpdf/appimage/build should be called
|
The AppImage in /tmp/build/qpdf/appimage/build should be called
|
||||||
qpdf-$version-x86_64.AppImage. Move it to the release archive area.
|
qpdf-$version-x86_64.AppImage. Move the AppImage and AppImage.zsync
|
||||||
|
files to the release archive area.
|
||||||
|
|
||||||
* Create Windows binary releases. In Windows:
|
* Create Windows binary releases. In Windows:
|
||||||
* Extract the source distribution
|
* Extract the source distribution
|
||||||
|
@ -3,7 +3,7 @@ RUN apt-get update && \
|
|||||||
apt-get -y install screen autoconf git \
|
apt-get -y install screen autoconf git \
|
||||||
build-essential zlib1g-dev libjpeg-dev \
|
build-essential zlib1g-dev libjpeg-dev \
|
||||||
docbook-xsl fop xsltproc \
|
docbook-xsl fop xsltproc \
|
||||||
inkscape busybox wget fuse && \
|
inkscape busybox-static wget fuse && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
COPY entrypoint /entrypoint
|
COPY entrypoint /entrypoint
|
||||||
|
@ -182,8 +182,12 @@ fi
|
|||||||
MAJOR_QPDF_VERSION=$( ./appdir/usr/bin/qpdf --version | grep "qpdf version" | awk '{print $3}' )
|
MAJOR_QPDF_VERSION=$( ./appdir/usr/bin/qpdf --version | grep "qpdf version" | awk '{print $3}' )
|
||||||
if [ "$TRAVIS_JOB_NUMBER" != "" ]; then
|
if [ "$TRAVIS_JOB_NUMBER" != "" ]; then
|
||||||
VERSION=${MAJOR_QPDF_VERSION}-continuous-${TRAVIS_JOB_NUMBER}-$(date "+%Y-%m-%d")-git.$(git rev-parse --short HEAD)
|
VERSION=${MAJOR_QPDF_VERSION}-continuous-${TRAVIS_JOB_NUMBER}-$(date "+%Y-%m-%d")-git.$(git rev-parse --short HEAD)
|
||||||
|
UPDATE_FLAG=-g
|
||||||
|
UPDATE_INFO=
|
||||||
else
|
else
|
||||||
VERSION=${MAJOR_QPDF_VERSION}
|
VERSION=${MAJOR_QPDF_VERSION}
|
||||||
|
UPDATE_FLAG=-u
|
||||||
|
UPDATE_INFO="gh-releases-zsync|qpdf|qpdf|latest|qpdf-*x86_64.AppImage.zsync"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove the default AppRun/symlink and use our own custom AppRun script
|
# Remove the default AppRun/symlink and use our own custom AppRun script
|
||||||
@ -191,7 +195,8 @@ rm appdir/AppRun; cp $top/appimage/AppRun appdir; chmod a+x appdir/AppRun
|
|||||||
|
|
||||||
set +x
|
set +x
|
||||||
# Finally, generate the AppImage:
|
# Finally, generate the AppImage:
|
||||||
PATH=./squashfs-root/usr/bin:$PATH ./squashfs-root/usr/bin/appimagetool $sign -g $appimagetool_param appdir qpdf-$VERSION-x86_64.AppImage
|
PATH=./squashfs-root/usr/bin:$PATH ./squashfs-root/usr/bin/appimagetool $sign $UPDATE_FLAG "$UPDATE_INFO" $appimagetool_param appdir qpdf-$VERSION-x86_64.AppImage
|
||||||
|
|
||||||
|
|
||||||
# Tell everyone where our result is stored:
|
# Tell everyone where our result is stored:
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user