Skip to content

Instantly share code, notes, and snippets.

@andrewtheis
Created October 23, 2013 22:02
Show Gist options
  • Save andrewtheis/7127566 to your computer and use it in GitHub Desktop.
Save andrewtheis/7127566 to your computer and use it in GitHub Desktop.
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