[Pkg-javascript-commits] [node-mapnik] 08/09: Update watch file to handle common issues.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Apr 8 10:16:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository node-mapnik.
commit 26088f3135682174a96ab018a7df2d801e1a21ea
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Apr 8 11:08:31 2016 +0200
Update watch file to handle common issues.
---
debian/changelog | 1 +
debian/watch | 10 ++++++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6dfebf4..92471d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ node-mapnik (3.5.8+dfsg-1) UNRELEASED; urgency=medium
- Add license & copyright for anchor.js
- Drop © character from copyright statements
- Use stand-alone license paragraphs
+ * Update watch file to handle common issues.
-- Bas Couwenberg <sebastic at debian.org> Fri, 08 Apr 2016 10:45:50 +0200
diff --git a/debian/watch b/debian/watch
index b1a0682..24db0d3 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,8 @@
version=3
opts=\
-uversionmangle=s/$/\+dfsg/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-mapnik-$1.tar.gz/ \
- https://github.com/mapnik/node-mapnik/tags .*/archive/v?([\d\.]+).tar.gz
-
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|node-mapnik)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/node-mapnik-$1.$2/,\
+repacksuffix=+dfsg \
+https://github.com/mapnik/node-mapnik/releases \
+(?:.*?/)?(?:rel|v|node-mapnik)?[\-\_]?(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git
More information about the Pkg-javascript-commits
mailing list