Use GIT rev count for the REVISION number.
This commit is contained in:
parent
06442336f2
commit
334e2aba45
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
|
VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
|
||||||
REVISION=`date +"%y%m%d"`
|
REVISION=`git rev-list HEAD --count`
|
||||||
|
|
||||||
mkdir -p ../dist
|
mkdir -p ../dist
|
||||||
rm -rf ../dist/*
|
rm -rf ../dist/*
|
||||||
|
|
Loading…
Reference in New Issue