Permalink
Browse files

Fix build script revision numbering

  • Loading branch information...
TomK32 committed Jan 31, 2013
1 parent 0725217 commit bff3f0d49b8e566fe6857745c902a05288bd6c27
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.sh
View
@@ -8,7 +8,7 @@ NAME="Rogue Beach, CA"
# Version is {last tag}-{commits since last tag}.
# e.g: 0.1.2-3
GAME_VERSION=`git tag|tail -1`
-REVISION=`git log ${GAME_VERSION}..HEAD --pretty=format:'' | wc -l | sed -e 's/ //g'`
+REVISION=`git log ${GAME_VERSION}..HEAD --oneline | wc -l | sed -e 's/ //g'`
FILENAME="$NAME-$GAME_VERSION-$REVISION"
VERSION=0.8.0

0 comments on commit bff3f0d

Please sign in to comment.