Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A way to execute bash scripts only for certain configuration and if that script exists
if [[ ${CONFIGURATION} == "Ad Hoc" && -f /var/xcode_ci_scripts/bump_and_tag.sh ]]; then
/var/xcode_ci_scripts/bump_and_tag.sh
else
echo "Skipping version bump"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment