Skip to content

Commit

Permalink
ci: Upgrade MacPorts version to 2.10.1.
Browse files Browse the repository at this point in the history
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
(cherry picked from commit 4247575c637b4d049346b96514ac9ca3363276d5)
  • Loading branch information
macdice authored and shardgupta committed Dec 6, 2024
1 parent 49da0d0 commit 7b9dd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/ci/ci_macports_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 7b9dd52

Please sign in to comment.