[sqitch] 06/13: debian/watch: add uversionmangle
gregor herrmann
gregoa at debian.org
Thu May 14 20:34:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository sqitch.
commit 6d641d83929ee6336eb505732313dd3643d98123
Author: gregor herrmann <gregoa at debian.org>
Date: Thu May 14 22:12:34 2015 +0200
debian/watch: add uversionmangle
in case upstream goes back from 4 minor digits to less.
---
debian/watch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/watch b/debian/watch
index 8163202..ab575f0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-https://metacpan.org/release/App-Sqitch .*/App-Sqitch-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+opts=uversionmangle=s/\.\d$/$&000/;s/\.\d\d$/$&00/;s/\.\d\d\d$/$&0/; \
+ https://metacpan.org/release/App-Sqitch .*/App-Sqitch-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/sqitch.git
More information about the Pkg-perl-cvs-commits
mailing list