[Pkg-javascript-commits] [leaflet] 59/78: Update watch file: Bump file format to version 4. Use github pattern from ducmentation. Set repacksuffix. Add usage comment.
Jonas Smedegaard
dr at jones.dk
Sat May 7 08:58:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit b5a3dc7f3ab8c2492c1c2b5fcdeb5013daef875b
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Mar 20 10:49:25 2016 +0100
Update watch file: Bump file format to version 4. Use github pattern from ducmentation. Set repacksuffix. Add usage comment.
---
debian/watch | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/watch b/debian/watch
index 5081fbc..bb9cd51 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,5 @@
-version=3
-opts=dversionmangle=s/\~dfsg.*// \
-https://github.com/Leaflet/Leaflet/tags .*/archive/v?(\d[\d\.]+).tar.gz
+# run "uscan --report" to check or "gpb import-orig --uscan" to update
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%,dversionmangle=s/~dfsg\d*$//,repacksuffix=~dfsg" \
+ https://github.com/Leaflet/Leaflet/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list