Use git rev-list to determine revision number
This commit is contained in:
parent
8704f83743
commit
9fdf490cff
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ fi
|
||||||
last_svn_revision=6962
|
last_svn_revision=6962
|
||||||
last_svn_hash="16cd907fe7482cb54a7374cd28b8501f138116be"
|
last_svn_hash="16cd907fe7482cb54a7374cd28b8501f138116be"
|
||||||
|
|
||||||
git_revision=$(expr $last_svn_revision + $(git log --pretty=oneline $last_svn_hash..HEAD 2>/dev/null | wc -l))
|
git_revision=$(expr $last_svn_revision + $(git rev-list --count $last_svn_hash..HEAD))
|
||||||
git_version_str=$(git describe --exact-match 2> /dev/null)
|
git_version_str=$(git describe --exact-match 2> /dev/null)
|
||||||
installer_version='0.0.0'
|
installer_version='0.0.0'
|
||||||
resource_version='0, 0, 0'
|
resource_version='0, 0, 0'
|
||||||
|
|
Loading…
Reference in a new issue