diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-20 15:56:28 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-20 15:56:28 -0400 |
commit | ffb2f51f1ae5e7e048c866e780091ff36481246a (patch) | |
tree | 20f357955d11f01e754825f1abc34e5d1afba991 /debian/create-standalone-changelog | |
parent | 0507c91928504f55c3dc95d2dfa5fb25d9ee306f (diff) |
reuse Build.Version to generate version
Diffstat (limited to 'debian/create-standalone-changelog')
-rwxr-xr-x | debian/create-standalone-changelog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/create-standalone-changelog b/debian/create-standalone-changelog index d1e5bbf5c..40b0c6964 100755 --- a/debian/create-standalone-changelog +++ b/debian/create-standalone-changelog @@ -9,7 +9,7 @@ umask 022 # This is the same method that the configure script uses when git-annex is # built from git master. -ANNEX_VERSION=$(git log -n 1 --format=format:'%ci %h'| sed -e 's/-//g' -e 's/ .* /-g/') +ANNEX_VERSION=$(runghc Build/Version.hs) ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,') |