[med-svn] [libhmsbeagle] 01/07: Fix version detection in debian/get-orig-source

Andreas Tille tille at debian.org
Thu Jul 14 14:48:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libhmsbeagle.

commit cc23d861200553bc0ab3e90a84de2b3d62559e55
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 14 16:09:04 2016 +0200

    Fix version detection in debian/get-orig-source
---
 debian/changelog       | 6 ++++++
 debian/get-orig-source | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fa7115b..9f13da2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libhmsbeagle (2.1.2+20151220-2) UNRELEASED; urgency=medium
+
+  * Fix version detection in debian/get-orig-source
+
+ -- Andreas Tille <tille at debian.org>  Thu, 14 Jul 2016 16:08:40 +0200
+
 libhmsbeagle (2.1.2+20151220-1) unstable; urgency=medium
 
   * New upstream Git checkout
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 5227cb9..0e64943 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -14,7 +14,7 @@ cd ../tarballs
 rm -rf *
 git clone --quiet https://github.com/beagle-dev/beagle-lib.git
 cd beagle-lib
-VERSION=${MVERSION}+`date -d @$(git show --format="%at") +%Y%m%d`
+VERSION=${MVERSION}+`date -d @$(git show --format="%at" | head -n1) +%Y%m%d`
 # for esthetical reasons set file timestamps (if git-restore-mtime is installed)
 git restore-mtime || true
 cd ..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhmsbeagle.git



More information about the debian-med-commit mailing list