From c54062f4bfde0a1dbd10534ce3fafd27cd2305c6 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 6 Jul 2022 04:37:59 -0700 Subject: [PATCH] Attempt for one last time to fix Xcode Cloud This should hammer fix it. That'll show them for forcing a shallow commit on me. Signed-off-by: Christopher Snowhill --- ci_scripts/ci_pre_xcodebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci_scripts/ci_pre_xcodebuild.sh b/ci_scripts/ci_pre_xcodebuild.sh index f926df3c0..273db6209 100755 --- a/ci_scripts/ci_pre_xcodebuild.sh +++ b/ci_scripts/ci_pre_xcodebuild.sh @@ -4,6 +4,8 @@ BASEDIR=$(dirname "$0") git=$(which git) -"$git" -C "${BASEDIR}/.." fetch --tags +REPO_ROOT_PATH=$("$git" rev-parse --show-toplevel) + +"$git" -C "$REPO_ROOT_PATH" fetch --unshallow --tags "${BASEDIR}/../Scripts/genversion.sh"