[dans-gdal-scripts] 02/03: Update watch file to use uscan version & filename mangling options.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Aug 25 12:29:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository dans-gdal-scripts.
commit 3ce5b80acfc3a32241c3ec9530bec16b880aa143
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Aug 25 14:17:51 2015 +0200
Update watch file to use uscan version & filename mangling options.
---
debian/changelog | 1 +
debian/watch | 10 ++++++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2b976d7..936a42d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
dans-gdal-scripts (0.23-4) UNRELEASED; urgency=medium
* Update Vcs-Browser URL to use HTTPS.
+ * Update watch file to use uscan version & filename mangling options.
-- Bas Couwenberg <sebastic at debian.org> Tue, 25 Aug 2015 14:15:58 +0200
diff --git a/debian/watch b/debian/watch
index 1197e81..db33021 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,7 @@
-# See uscan(1) for format
-# Compulsory line, this is a version 3 file
version=3
-https://github.com/gina-alaska/dans-gdal-scripts/tags .*/v([\d\.]+)\.tar\.gz
-
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/\-/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|dans-gdal-scripts)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/dans-gdal-scripts-$1.$2/ \
+https://github.com/gina-alaska/dans-gdal-scripts/releases \
+(?:.*?/)?(?:rel|v|dans-gdal-scripts)?[\-\_]?(\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/dans-gdal-scripts.git
More information about the Pkg-grass-devel
mailing list