ci: Upgrade MacPorts version to 2.10.1.
authorThomas Munro <[email protected]>
Sun, 18 Aug 2024 23:47:37 +0000 (11:47 +1200)
committerThomas Munro <[email protected]>
Sun, 18 Aug 2024 23:47:37 +0000 (11:47 +1200)
MacPorts version 2.9.3 started failing in our ci_macports_packages.sh
script, for reasons not fully determined, but plausibly linked to the
release of 2.10.1.  2.10.1 seems to work, so let's switch to it.

Back-patch to 15, where CI began.

Reported-by: Peter Eisentraut <[email protected]>
Discussion: https://postgr.es/m/81f104e8-f0a9-43c0-85bd-2bbbf590a5b8%40eisentraut.org

src/tools/ci/ci_macports_packages.sh

index 71248bd22b04ef2930183acac3bf95040ddc7d5b..b3df6d36a4e2200d61995a5afe0542f21cab7be0 100755 (executable)
@@ -19,7 +19,7 @@ echo "macOS major version: $macos_major_version"
 # Scan the available MacPorts releases to find one that matches the running
 # macOS release.
 macports_release_list_url="https://api.github.com/repos/macports/macports-base/releases"
-macports_version_pattern="2\.9\.3"
+macports_version_pattern="2\.10\.1"
 macports_url="$( curl -s $macports_release_list_url | grep "\"https://github.com/macports/macports-base/releases/download/v$macports_version_pattern/MacPorts-$macports_version_pattern-$macos_major_version-[A-Za-z]*\.pkg\"" | sed 's/.*: "//;s/".*//' | head -1 )"
 echo "MacPorts package URL: $macports_url"