mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
updated names of created images add gnu-libiconv-dev to alpine build
This commit is contained in:
parent
e4f34fdc0e
commit
f340abb31e
@ -16,7 +16,7 @@ set -ev
|
||||
# For appimage output plugin
|
||||
#
|
||||
#export VERSION="$PDF2HTMLEX_BRANCH-$BUILD_TIME"
|
||||
export APPIMAGE_NAME="pdf2htmlEX-$PDF2HTMLEX_BRANCH-$BUILD_TIME-$BUILD_DIST-$MACHINE_ARCH.AppImage"
|
||||
export APPIMAGE_NAME="pdf2htmlEX-$PDF2HTMLEX_NAME.AppImage"
|
||||
|
||||
echo "export APPIMAGE_NAME=\"$APPIMAGE_NAME\"" >> buildScripts/reSourceVersionEnvs
|
||||
|
||||
|
@ -13,7 +13,7 @@ echo ""
|
||||
|
||||
set -ev
|
||||
|
||||
export DPKG_NAME="pdf2htmlEX-$PDF2HTMLEX_BRANCH-$BUILD_TIME-$BUILD_DIST-$MACHINE_ARCH.deb"
|
||||
export DPKG_NAME="pdf2htmlEX-$PDF2HTMLEX_NAME.deb"
|
||||
|
||||
echo "export DPKG_NAME=\"$DPKG_NAME\"" >> buildScripts/reSourceVersionEnvs
|
||||
|
||||
|
@ -45,7 +45,7 @@ if [ -z "$DOCKER_USERNAME" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
export DOCKER_NAME="$DOCKER_USERNAME/pdf2htmlex:$PDF2HTMLEX_BRANCH-$BUILD_TIME"
|
||||
export DOCKER_NAME="$DOCKER_USERNAME/pdf2htmlex:$PDF2HTMLEX_NAME"
|
||||
|
||||
echo "export DOCKER_FROM=\"$DOCKER_FROM\"" >> ../../buildScripts/reSourceVersionEnvs
|
||||
echo "export DOCKER_USERNAME=\"$DOCKER_USERNAME\"" >> ../../buildScripts/reSourceVersionEnvs
|
||||
|
@ -48,7 +48,7 @@ if [ -z "$DOCKER_USERNAME" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
export DOCKER_NAME="$DOCKER_USERNAME/pdf2htmlex:$PDF2HTMLEX_BRANCH-$BUILD_TIME"
|
||||
export DOCKER_NAME="$DOCKER_USERNAME/pdf2htmlex:$PDF2HTMLEX_NAME"
|
||||
|
||||
echo "export DOCKER_FROM=\"$DOCKER_FROM\"" >> ../../buildScripts/reSourceVersionEnvs
|
||||
echo "export DOCKER_USERNAME=\"$DOCKER_USERNAME\"" >> ../../buildScripts/reSourceVersionEnvs
|
||||
|
@ -17,6 +17,7 @@ set -ev
|
||||
sudo apk update
|
||||
sudo apk add \
|
||||
gettext \
|
||||
gnu-libiconv-dev \
|
||||
cairo-dev \
|
||||
libpng-dev \
|
||||
freetype-dev \
|
||||
|
@ -47,8 +47,10 @@ if test -r /etc/lsb-release ; then
|
||||
# source /etc/lsb-release
|
||||
. /etc/lsb-release
|
||||
export BUILD_DIST=$DISTRIB_CODENAME
|
||||
export BUILD_OS=$DISTRIB_ID
|
||||
elif test -r /etc/alpine-release ; then
|
||||
cat /etc/alpine-release
|
||||
export BUILD_OS=alpine
|
||||
export BUILD_DIST=$(cat /etc/alpine-release)
|
||||
else
|
||||
echo "FAILURE: could not determine release"
|
||||
@ -61,11 +63,15 @@ export BUILD_TIME="$(date +%Y_%m_%d-%H_%M_%S)"
|
||||
|
||||
export MACHINE_ARCH="$(uname -m)"
|
||||
|
||||
echo "export PDF2HTMLEX_VERSION=\"$PDF2HTMLEX_VERSION\"" > buildScripts/reSourceVersionEnvs
|
||||
echo "export POPPLER_VERSION=\"$POPPLER_VERSION\"" >> buildScripts/reSourceVersionEnvs
|
||||
export PDF2HTMLEX_NAME=$PDF2HTMLEX_VERSION-$PDF2HTMLEX_BRANCH-$BUILD_DATE-$BUILD_OS-$BUILD_DIST-$MACHINE_ARCH
|
||||
|
||||
echo "export PDF2HTMLEX_NAME=\"$PDF2HTMLEX_NAME\"" > buildScripts/reSourceVersionEnvs
|
||||
echo "export PDF2HTMLEX_VERSION=\"$PDF2HTMLEX_VERSION\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export POPPLER_VERSION=\"$POPPLER_VERSION\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export FONTFORGE_VERSION=\"$FONTFORGE_VERSION\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export PDF2HTMLEX_BRANCH=\"$PDF2HTMLEX_BRANCH\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export MACHINE_ARCH=\"$MACHINE_ARCH\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export BUILD_OS=\"$BUILD_OS\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export BUILD_DIST=\"$BUILD_DIST\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export BUILD_DATE=\"$BUILD_DATE\"" >> buildScripts/reSourceVersionEnvs
|
||||
echo "export BUILD_TIME=\"$BUILD_TIME\"" >> buildScripts/reSourceVersionEnvs
|
||||
|
Loading…
Reference in New Issue
Block a user