Permalink
Browse files

Also output the version number as a number, not just a string, for us…

…e in Info.plist.
  • Loading branch information...
uliwitness committed Apr 10, 2010
1 parent 351717c commit aef11b9c2e0f1d809d053ac8c7cf08d92d67aedb
Showing with 1 addition and 0 deletions.
  1. +1 −0 make_git_version_header.sh
@@ -46,4 +46,5 @@ fullrevnum=`/usr/local/git/bin/git rev-parse HEAD`
# Now write the constant declaration to the file:
echo "#define SVN_VERSION \"$revnum\"" > svn_version.h
echo "#define GIT_HASH \"$fullrevnum\"" >> svn_version.h
+echo "#define SVN_VERSION_NUM $revnum" >> svn_version.h
echo "note: Wrote revision $revnum to svn_version.h"

0 comments on commit aef11b9

Please sign in to comment.