This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository osmium-tool.
commit ab2c74cb7d794e9c1b813cced372bc6747320942 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Mar 6 19:51:46 2015 +0100 Use watch file for GitHub releases. --- debian/get-orig-source | 19 ------------------- debian/watch | 6 ++++++ 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/debian/get-orig-source b/debian/get-orig-source deleted file mode 100755 index 205fd0d..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/osmium-tool.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/watch b/debian/watch new file mode 100644 index 0000000..22797ea --- /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/osmium-tool-$1.tar.gz/" \ +https://github.com/osmcode/osmium-tool/releases \ +(?:.*/)?(?:rel|v|osmium-tool)[\-\_]?(\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/osmium-tool.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