This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository libosmium.
commit 6dfcb172bc470340359779a2bf738a1016e603d8 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Mar 6 19:38:21 2015 +0100 Use watch file for GitHub releases. --- debian/get-orig-source | 19 ------------------- debian/rules | 3 --- debian/watch | 6 ++++++ 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/debian/get-orig-source b/debian/get-orig-source deleted file mode 100755 index 0088e5c..0000000 --- a/debian/get-orig-source +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -REMOTE=upstream -BRANCH=${REMOTE}/master - -if [ $(git remote show ${REMOTE} | wc -l) -eq 0 ]; then - git remote add ${REMOTE} https://github.com/osmcode/libosmium.git -fi - -git fetch ${REMOTE} --no-tags - -PACKAGE=$(dpkg-parsechangelog | grep ^Source: | awk '{print $2}') - -COMMIT=$(git log -n1 --format=format:%h ${BRANCH}) -DATE=$(date +%Y%m%d --date="@$(git log -n1 --format=format:%ct ${BRANCH})") - -VERSION="0.0~${DATE}-${COMMIT}" - -git archive --format=tar.gz --prefix=${PACKAGE}-${VERSION}/ -o ../${PACKAGE}_${VERSION}.orig.tar.gz ${BRANCH} diff --git a/debian/rules b/debian/rules index 13783ca..3b66002 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,3 @@ override_dh_auto_build: dh_auto_build (cd build && $(MAKE) doc) -get-orig-source: - . debian/get-orig-source - diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f158b7b --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +version=3 +opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\ +filenamemangle=s/(?:.*)?v(\d[\d\.]*)\.tar\.gz/libosmium-$1.tar.gz/" \ +https://github.com/osmcode/libosmium/releases \ +(?:.*/)?(?:rel|v|libosmium)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libosmium.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel