Merge #596: Use the full archive path for Xcode shasum

9a08f14aa45b01f553db677cf5c7f1712e9fa0dc contrib: use full path to check the Xcode archive (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 9a08f14aa45b01f553db677cf5c7f1712e9fa0dc -- i used this to release 1.1

Tree-SHA512: 8b3ee16bda137ed59f67d0e2f54a16bc9c439a467f4dbc408759b472f21e571f676e4fc9a2d9e93e759a06fdcea19eb24481332fbfa574f8bc44099d5c5429da
This commit is contained in:
Antoine Poinsot 2023-08-09 16:30:45 +02:00
commit 2a7575db33
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -24,7 +24,7 @@ docker run --rm -ti \
# Sanity check the given MacOS SDK is the expected one.
if ! $(echo "$XCODE_SHASUM $(basename $XCODE_PATH)" | sha256sum -c --status); then
if ! $(echo "$XCODE_SHASUM $XCODE_PATH" | sha256sum -c --status); then
echo "No or invalid Xcode SDK found. Need an Xcode_X.Y.xip archive whose hash is $XCODE_SHASUM. You can configure the path using \$XCODE_PATH.";
exit 1;
fi