Skip to content

Commit

Permalink
Use GIT rev count for the REVISION number.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjsweeney committed Aug 12, 2016
1 parent 0644233 commit 334e2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/buildAll.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
REVISION=`date +"%y%m%d"`
REVISION=`git rev-list HEAD --count`

mkdir -p ../dist
rm -rf ../dist/*
Expand Down

0 comments on commit 334e2ab

Please sign in to comment.