[scummvm-tools] 01/01: fix watch to exclude -win32.zip, allow rc versions
Phil Morrell
emorrp1-guest at moszumanska.debian.org
Wed Feb 24 02:29:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
emorrp1-guest pushed a commit to branch master
in repository scummvm-tools.
commit 617be034d41b07c598316be86ecff1bbcd448674
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