Skip to content

Instantly share code, notes, and snippets.

@andrzejressel
Last active August 29, 2015 14:27
Show Gist options
  • Save andrzejressel/d04ed329d26d0fb60113 to your computer and use it in GitHub Desktop.
Save andrzejressel/d04ed329d26d0fb60113 to your computer and use it in GitHub Desktop.
Some useful stuff
#Check if versionCode was changed in latest commit
if [[ $(git rev-parse HEAD) == $(git blame -b -l app/build.gradle | grep "versionCode" | cut -d" " -f 1) ]]; then echo test; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment