1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 20:50:07 +00:00

another attempt to solve dpkg-deb invalid characters in version problem

This commit is contained in:
Stephen Gaito 2020-06-19 12:17:14 +01:00
parent ccfe780b80
commit a9d178ea0b
2 changed files with 5 additions and 2 deletions

View File

@ -67,7 +67,7 @@ find $DEBDIR -type f | xargs md5sum > $md5sumsFile
# Accumulate the control file information
#
versionValue=$PDF2HTMLEX_VERSION-$PDF2HTMLEX_BRANCH-$BUILD_DIST-$BUILD_TIME
versionValue=$PDF2HTMLEX_VERSION.$PDF2HTMLEX_BRANCH.$BUILD_DIST.$BUILD_DATE
architectureValue=$(dpkg-architecture -q DEB_BUILD_ARCH_CPU)
maintainerValue="$(git config --get user.name) <$(git config --get user.email)>"

View File

@ -6,7 +6,7 @@
# see: https://poppler.freedesktop.org/releases.html
# current working: 0.83.0
export PDF2HTMLEX_VERSION=v0.18.8-alpha
export PDF2HTMLEX_VERSION=0.18.8.alpha
export POPPLER_VERSION=poppler-0.89.0
#export POPPLER_VERSION=poppler-0.88.0
@ -48,6 +48,8 @@ source /etc/lsb-release
export BUILD_DIST=$DISTRIB_CODENAME
export BUILD_DATE="$(date +%Y%m%d)"
export BUILD_TIME="$(date +%Y_%m_%d-%H_%M_%S)"
export MACHINE_ARCH="$(uname -m)"
@ -58,5 +60,6 @@ echo "export FONTFORGE_VERSION=\"$FONTFORGE_VERSION\"" >> buildScripts/reSourc
echo "export PDF2HTMLEX_BRANCH=\"$PDF2HTMLEX_BRANCH\"" >> buildScripts/reSourceVersionEnvs
echo "export MACHINE_ARCH=\"$MACHINE_ARCH\"" >> 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
echo "export PDF2HTMLEX_PREFIX=\"$PDF2HTMLEX_PREFIX\"" >> buildScripts/reSourceVersionEnvs