aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-08-19 11:47:37 +1200
committerThomas Munro <tmunro@postgresql.org>2024-08-19 11:48:01 +1200
commit4b6aa0cffc04e8a5e1e876f3ba8cb11bd61ac40b (patch)
tree7a6dc68c871ad60c69f500e2cc2925de1ba9a1d9
parentd1da80115004af2a2093479556b45d2fbcfcd571 (diff)
downloadpostgresql-4b6aa0cffc04e8a5e1e876f3ba8cb11bd61ac40b.tar.gz
postgresql-4b6aa0cffc04e8a5e1e876f3ba8cb11bd61ac40b.zip
ci: Upgrade MacPorts version to 2.10.1.
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 <peter@eisentraut.org> Discussion: https://postgr.es/m/81f104e8-f0a9-43c0-85bd-2bbbf590a5b8%40eisentraut.org
-rwxr-xr-xsrc/tools/ci/ci_macports_packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ci/ci_macports_packages.sh b/src/tools/ci/ci_macports_packages.sh
index 71248bd22b0..b3df6d36a4e 100755
--- a/src/tools/ci/ci_macports_packages.sh
+++ b/src/tools/ci/ci_macports_packages.sh
@@ -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"