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
|
umask 022
|
||||||
|
|
||||||
# This is the same method that the configure script uses when git-annex is
|
# For NeuroDebian we rely on `git describe` output to get a
|
||||||
# built from git master.
|
# sortable version which should work for any stage of a snapshot between
|
||||||
ANNEX_VERSION=$(runghc Build/BuildVersion.hs)
|
# releases and would remain sortable
|
||||||
|
ANNEX_VERSION=$(git describe HEAD)
|
||||||
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')
|
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')
|
||||||
|
|
||||||
dch --noconf -v ${ANNEX_NDVERSION} \
|
dch --noconf -v ${ANNEX_NDVERSION} \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue