From 016bc9a45b1d595fcc868debed1b80df87e67111 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 6 Jul 2022 04:22:26 -0700 Subject: [PATCH] Attempt to fix Xcode Cloud again This time, run the git fetch tags and genversion in the pre xcodebuild script. Signed-off-by: Christopher Snowhill --- ci_scripts/ci_post_clone.sh | 6 ------ ci_scripts/ci_pre_xcodebuild.sh | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100755 ci_scripts/ci_pre_xcodebuild.sh diff --git a/ci_scripts/ci_post_clone.sh b/ci_scripts/ci_post_clone.sh index cc16eb3b0..4bc90d31f 100755 --- a/ci_scripts/ci_post_clone.sh +++ b/ci_scripts/ci_post_clone.sh @@ -2,10 +2,4 @@ BASEDIR=$(dirname "$0") -git=$(which git) - "${BASEDIR}/../Scripts/extract_libraries.sh" - -"$git" -C "${BASEDIR}/.." fetch --tags - -"${BASEDIR}/../Scripts/genversion.sh" diff --git a/ci_scripts/ci_pre_xcodebuild.sh b/ci_scripts/ci_pre_xcodebuild.sh new file mode 100755 index 000000000..f926df3c0 --- /dev/null +++ b/ci_scripts/ci_pre_xcodebuild.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +BASEDIR=$(dirname "$0") + +git=$(which git) + +"$git" -C "${BASEDIR}/.." fetch --tags + +"${BASEDIR}/../Scripts/genversion.sh"