[openstreetmap-carto] 10/11: Improve debian/watch

Christopher Baines cbaines-guest at moszumanska.debian.org
Fri Apr 17 17:00:37 UTC 2015


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

cbaines-guest pushed a commit to branch master
in repository openstreetmap-carto.

commit 0d08ab3bf5457454916b8fb7bbfed818a2230dec
Author: Christopher Baines <mail at cbaines.net>
Date:   Fri Apr 17 15:59:14 2015 +0100

    Improve debian/watch
    
    I am unsure the regex will still work if upstream release 3.1.0, or something
    similar with only one digit in the second position...
---
 debian/watch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 7c36051..cfebd9d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-https://github.com/gravitystorm/openstreetmap-carto/releases /gravitystorm/openstreetmap-carto/archive/v(.*).tar.gz
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/openstreetmap-carto-$1\.tar\.gz/ \
+  https://github.com/gravitystorm/openstreetmap-carto/tags .*/?(\d\.\d{2}.\d)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openstreetmap-carto.git



More information about the Pkg-grass-devel mailing list