[yquake2] 06/11: d/watch: Strip ~dfsg, +dfsg even if no digits
Simon McVittie
smcv at debian.org
Thu Sep 14 15:08:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository yquake2.
commit 4237ff4772cc5d7847ec61325428ff69abd20eb3
Author: Simon McVittie <smcv at debian.org>
Date: Thu Sep 14 11:08:08 2017 +0100
d/watch: Strip ~dfsg, +dfsg even if no digits
---
debian/watch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/watch b/debian/watch
index 54b0b35..d62bf1a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
version=4
# TODO: CTF v1.05 is hard-coded here, but I don't see a way around that
-opts="repack,compression=gz,uversionmangle=s/_/./g,dversionmangle=s/.dfsg.//g;s/\+ctf.*//,oversionmangle=s/$/+ctf1.05~dfsg/" \
+opts="repack,compression=gz,uversionmangle=s/_/./g,dversionmangle=s/[~+]dfsg[0-9]*//g;s/\+ctf.*//,oversionmangle=s/$/+ctf1.05~dfsg/" \
https://github.com/yquake2/yquake2/releases .*/QUAKE2_(.*)\.tar\.gz
-opts="uversionmangle=s/_/./g,dversionmangle=s/.dfsg.//g;s/.*\+ctf//,component=ctf,oversionmangle=s/$/+ctf1.05~dfsg/" \
+opts="uversionmangle=s/_/./g,dversionmangle=s/[~+]dfsg[0-9]*//g;s/.*\+ctf//,component=ctf,oversionmangle=s/$/+ctf1.05~dfsg/" \
https://github.com/yquake2/ctf/releases .*/CTF_(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/yquake2.git
More information about the Pkg-games-commits
mailing list