[freeorion] 03/05: debian/watch: Use filemangle option to detect stable releases.
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Aug 19 16:48:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository freeorion.
commit 3bef479315d411c7cbeb1bec0d9c29763a2d72ab
Author: Markus Koschany <apo at gambaru.de>
Date: Wed Aug 19 17:09:01 2015 +0200
debian/watch: Use filemangle option to detect stable releases.
---
debian/watch | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/watch b/debian/watch
index 35a8998..7ddcc01 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,uversionmangle=s/-test-(\d*)/~/ \
-https://github.com/freeorion/freeorion/tags \
-.*/archive/(?:upstream/)?(?:v|version-|release-|X|R|r|rc)(\d\S*)\.tar\.gz
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/freeorion-$1.tar.gz/" \
+https://github.com/freeorion/freeorion/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeorion.git
More information about the Pkg-games-commits
mailing list