Skip to content

Instantly share code, notes, and snippets.

@ArtSabintsev
Last active May 1, 2017 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArtSabintsev/89f0e3d865baaa5ac24456c5a1143371 to your computer and use it in GitHub Desktop.
Save ArtSabintsev/89f0e3d865baaa5ac24456c5a1143371 to your computer and use it in GitHub Desktop.
BuddyBuild Post Build Script
#!/usr/bin/env bash
BR=$( git describe --contains --all HEAD )
echo Branch: $BR
if [ $BR = master ]
then
git add Path/To/Supporting\ Files/Info.plist
git commit --allow-empty -m "[skip ci] finished build: $BUDDYBUILD_BUILD_NUMBER"
git push
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment