cog/ci_scripts/ci_pre_xcodebuild.sh

12 lines
203 B
Bash
Executable File

#!/bin/sh
BASEDIR=$(dirname "$0")
git=$(command -v git)
REPO_ROOT_PATH=$("$git" rev-parse --show-toplevel)
"$git" -C "$REPO_ROOT_PATH" fetch --unshallow --tags
"${BASEDIR}/../Scripts/genversion.sh"