diff --git a/build.profile b/build.profile index cde6180..c9323cc 100644 --- a/build.profile +++ b/build.profile @@ -1,4 +1,4 @@ -BUILD_TAG=2.8.5 +BUILD_TAG=2.8.6 . build.local @@ -26,4 +26,4 @@ BUILD_jbig2enc=jbig2enc-0.28-17-gea05019 BUILD_jbig2dec=jbig2dec-0.20 BUILD_libfontttf=liberation-fonts-ttf-2.1.5 -BUILD_paperless=paperless-ngx-2.8.5 +BUILD_paperless=paperless-ngx-2.8.6 diff --git a/checkversions.sh b/checkversions.sh index 045e303..7fb7715 100755 --- a/checkversions.sh +++ b/checkversions.sh @@ -23,7 +23,7 @@ function parsefile() { B=$1 U=$2 P=$3 - curl -s -L "${U}" | grep --max-count=1 -oP "${P}" + curl -s -L "${U}" | grep --max-count=1 -oP -e "${P}" } # git_describe_remote @@ -56,26 +56,20 @@ function parse() { } # https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest& -gdrem "${BUILD_paperless}" paperless-ngx/paperless-ngx 'refs/tags/v*' -parse "${BUILD_node}" 'https://github.com/nodejs/node/releases' '(?<=Version )\S+' +gdrem "${BUILD_paperless}" paperless-ngx/paperless-ngx 'refs/tags/v*' +parse "${BUILD_node}" 'https://github.com/nodejs/node/releases' '(?<=Version ).*?(?= ).*LTS\)' parse "${BUILD_python}" 'https://raw.githubusercontent.com/python/peps/main/peps/pep-0664.rst' '(?<=^- ).*(?=:.*final)' parse "${BUILD_redis}" 'http://download.redis.io/redis-stable/00-RELEASENOTES' '(?<=Redis\s).*(?=\s+Released)' parse "${BUILD_sqlite}" 'https://sqlite.org/index.html' '(?<=Version ).*(?=<)' - parse "${BUILD_nginx}" 'https://nginx.org/' '(?<=nginx-).*?(?=<)' - gdrem "${BUILD_tesseract}" tesseract-ocr/tesseract 'refs/tags/[0-9]*' gdrem "${BUILD_tessdata}" tesseract-ocr/tessdata_best 'refs/tags/[0-9]*' gdrem "${BUILD_jbig2dec}" ArtifexSoftware/jbig2dec 'refs/tags/[0-9]*' gdrem "${BUILD_jbig2enc}" agl/jbig2enc 'refs/tags/[0-9]*' - gdrem "${BUILD_leptonica}" DanBloomberg/leptonica 'refs/tags/[0-9]*' - parse "${BUILD_ffmpeg}" 'https://git.videolan.org/?p=ffmpeg.git;a=blob_plain;f=Changelog' '(?<=^version )\d.*(?=:)' gdrem "${BUILD_pngquant}" kornelski/pngquant 'refs/tags/*' - - gdrem "${BUILD_zbar}" mchehab/zbar 'refs/tags/[0-9]*' gdrem "${BUILD_unpaper}" unpaper/unpaper 'refs/tags/unpaper-*' '(?<= )[0-9]+(?= commits)' gdrem "${BUILD_libfontttf}" liberationfonts/liberation-fonts 'refs/tags/[0-9]*'