[vdr-plugin-undelete] 03/05: New Upstream Snapshot (commit 9de2209)
Tobias Grimm
tiber-guest at moszumanska.debian.org
Sat Feb 14 14:31:40 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-undelete.
commit 336869c1c721e0cf5f6551a4fd871f03885e43e1
Author: etobi <git at e-tobi.net>
Date: Sat Feb 14 15:28:44 2015 +0100
New Upstream Snapshot (commit 9de2209)
---
debian/changelog | 6 ++++++
debian/get-vcs-snapshot.sh | 20 ++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7305f1c..811d50a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vdr-plugin-undelete (0.0.7+git20150214-1) UNRELEASED; urgency=medium
+
+ * New Upstream Snapshot (commit 9de2209)
+
+ -- Tobias Grimm <etobi at debian.org> Sat, 14 Feb 2015 15:21:49 +0100
+
vdr-plugin-undelete (0.0.7-5) experimental; urgency=medium
* Build-depend on vdr-dev (>= 2.1.9)
diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh
new file mode 100644
index 0000000..9560e9b
--- /dev/null
+++ b/debian/get-vcs-snapshot.sh
@@ -0,0 +1,20 @@
+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_DATE=`/bin/date --utc +%0Y%0m%0d`
+VERSION_FULL="${VERSION_UPSTREAM}+git${VERSION_DATE}"
+
+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`
+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)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-undelete.git
More information about the pkg-vdr-dvb-changes
mailing list