[scummvm-tools] 06/17: fix watch to exclude -win32.zip, allow rc versions
Stephen Kitt
skitt at moszumanska.debian.org
Mon Oct 17 10:48:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository scummvm-tools.
commit 19d8be1868814d23890ae273034978288ced7a1f
Author: Phil Morrell <debian at emorrp1.name>
Date: Wed Feb 24 02:13:05 2016 +0000
fix watch to exclude -win32.zip, allow rc versions
* use s/-/~/ for exclude as upstream doesn't use hyphens
* could use negative lookahead to be specific (?!.*(?:atari|win32)) etc.
* directory regex is simply @ANY_VERSION@ omitting leading [-_]
---
debian/watch | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/watch b/debian/watch
index 39731d4..e9ba3cf 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,6 @@
version=4
-opts="dirversionmangle=s/rc/~rc/" \
- http://www.scummvm.org/frs/scummvm-tools/([\d+\.]+)/ \
+# s/-/~/ excludes e.g. -win32.zip
+opts="dirversionmangle=s/rc/~rc/;s/b/~b/, \
+ uversionmangle=s/rc/~rc/;s/b/~b/;s/-/~/" \
+ http://www.scummvm.org/frs/scummvm-tools/(\d[\-+\.:\~\da-zA-Z]*)/ \
@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scummvm-tools.git
More information about the Pkg-games-commits
mailing list