[vdr-plugin-skindesigner] 06/12: Fixed get-vcs-snapshot.sh

Tobias Grimm tiber-guest at moszumanska.debian.org
Sun Feb 15 18:24:22 UTC 2015


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

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

commit 285bae47554f8506651d22e7fa22ed3d1ecf612e
Author: etobi <git at e-tobi.net>
Date:   Sun Feb 15 11:04:33 2015 +0100

    Fixed get-vcs-snapshot.sh
---
 debian/get-vcs-snapshot.sh | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh
index 16d0d86..c9702a0 100644
--- a/debian/get-vcs-snapshot.sh
+++ b/debian/get-vcs-snapshot.sh
@@ -2,11 +2,11 @@ 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}"
 
-git clone --depth 1 git://projects.vdr-developer.org/skin-nopacity.git ${DEB_SOURCE_PACKAGE}
+git clone --depth 1 git://projects.vdr-developer.org/${DEB_SOURCE_PACKAGE}.git
 
 cd ${DEB_SOURCE_PACKAGE}
 GIT_SHA=`git show --pretty=format:"%h" --quiet | head -1 || true`
@@ -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-skindesigner.git



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