Use git describe output for defining sortable version for NeuroDebian snapshots
It largely reverts all the changes to the state of bfef0ba69f
to get a sortable version of git-annex-standalone package
This commit is contained in:
parent
12460fcea6
commit
2cf30081bf
1 changed files with 4 additions and 4 deletions
8
debian/create-standalone-changelog
vendored
8
debian/create-standalone-changelog
vendored
|
@ -7,10 +7,10 @@ set -eu
|
|||
|
||||
umask 022
|
||||
|
||||
# This is the same method that the configure script uses when git-annex is
|
||||
# built from git master.
|
||||
ANNEX_VERSION=$(runghc Build/BuildVersion.hs)
|
||||
|
||||
# For NeuroDebian we rely on `git describe` output to get a
|
||||
# sortable version which should work for any stage of a snapshot between
|
||||
# releases and would remain sortable
|
||||
ANNEX_VERSION=$(git describe HEAD)
|
||||
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')
|
||||
|
||||
dch --noconf -v ${ANNEX_NDVERSION} \
|
||||
|
|
Loading…
Reference in a new issue