diff --git a/fragments/labels/qgis-pr.sh b/fragments/labels/qgis-pr.sh index 0c29be196..d160faf57 100644 --- a/fragments/labels/qgis-pr.sh +++ b/fragments/labels/qgis-pr.sh @@ -1,7 +1,7 @@ qgis-pr) name="QGIS" type="dmg" - downloadURL="https://download.qgis.org/downloads/macos/qgis-macos-pr.dmg" - appNewVersion="$(curl -fs "https://www.qgis.org/da/_static/documentation_options.js" | grep -i version | cut -d "'" -f2)" + downloadURL="$(curl -fs "https://qgis.org/download/" | grep -o "https://.*/qgis-macos-pr.dmg" | tail -1)" + appNewVersion="$(curl -fs https://www.qgis.org/resources/roadmap/ | grep -oE "currently supported releases: [0-9]+\.[0-9]+(\.[0-9]+) and [0-9]+\.[0-9]+(\.[0-9]+)" | awk '{print$6}')" expectedTeamID="4F7N4UDA22" ;;