Created
April 2, 2013 04:13
-
-
Save jautero/5289888 to your computer and use it in GitHub Desktop.
Simple iOS app log file generator.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
logmessage="" | |
git log >git.log | |
if grep -i implemented git.log >/dev/null 2>&1; then | |
logmessage="improvements" | |
fi | |
if grep -i fixed git.log >/dev/null 2>&1; then | |
[ -n "$logmessage" ] && logmessage="$logmessage and " | |
logmessage="${logmessage}bug fixes" | |
fi | |
echo "Contains $logmessage." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment