[vdr-plugin-extrecmenu] 03/09: Updated get-vcs-snapshot.sh

Tobias Grimm tiber-guest at moszumanska.debian.org
Wed Dec 27 14:55:28 UTC 2017


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

tiber-guest pushed a commit to branch master
in repository vdr-plugin-extrecmenu.

commit de6bf8f4f401aaf95ce37056d36c0b96c15e2ede
Author: Tobias Grimm <git at e-tobi.net>
Date:   Wed Dec 27 15:43:13 2017 +0100

    Updated get-vcs-snapshot.sh
---
 debian/get-vcs-snapshot.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh
index c7fd19e..c9702a0 100644
--- a/debian/get-vcs-snapshot.sh
+++ b/debian/get-vcs-snapshot.sh
@@ -2,7 +2,7 @@ echo Downloading latest from git repository...
 set -e
 
 DEB_SOURCE_PACKAGE=`egrep '^Source: ' debian/control | cut -f 2 -d ' '`
-VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e s/-[^-]*$// -e s/\+git.*//`
+VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1 | sed -r 's/(.*)\+git.*/\1/'`
 VERSION_DATE=`/bin/date --utc +%0Y%0m%0d`
 VERSION_FULL="${VERSION_UPSTREAM}+git${VERSION_DATE}"
 
@@ -14,7 +14,6 @@ cd ..
 
 tar --exclude=.git -czf "../${DEB_SOURCE_PACKAGE}_${VERSION_FULL}.orig.tar.gz" ${DEB_SOURCE_PACKAGE}
 
-rm -rf ${DEB_SOURCE_PACKAGE}
-
-git-import-orig --pristine-tar "../${DEB_SOURCE_PACKAGE}_${VERSION_FULL}.orig.tar.gz"
 dch -v "$VERSION_FULL-1" "New Upstream Snapshot (commit $GIT_SHA)"
+
+rm -rf ${DEB_SOURCE_PACKAGE}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-extrecmenu.git



More information about the pkg-vdr-dvb-changes mailing list