Skip to content

Instantly share code, notes, and snippets.

@tiraeth
Created January 15, 2013 09:49
Show Gist options
  • Save tiraeth/4537585 to your computer and use it in GitHub Desktop.
Save tiraeth/4537585 to your computer and use it in GitHub Desktop.
#!/bin/bash
OUT=`git log -n 1 --oneline | grep [CI]`
if [ $OUT = "" ]; then
# Do not build a test!
else
# Do build a test!
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment