[osgearth] 04/13: Update watch file to also report pre-releases.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon May 25 19:42:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch stretch
in repository osgearth.

commit 4a7a6df32327587dbbf526e015ddb20f50840aeb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Oct 13 20:48:28 2014 +0200

    Update watch file to also report pre-releases.
    
    Conflicts:
    	debian/changelog
---
 debian/changelog | 1 +
 debian/watch     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dba4f4c..081ce7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ osgearth (2.5.0+dfsg-3) UNRELEASED; urgency=medium
   * Update my email to use @debian.org address.
   * Update branch in gbp.conf and Vcs-Git URL.
   * Add patch to fix "undefined reference to symbol 'XInitThreads'" FTBFS.
+  * Update watch file to also report pre-releases.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 25 May 2015 17:55:21 +0200
 
diff --git a/debian/watch b/debian/watch
index aa36c11..6b7ad5b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
-opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/^\d+\.\d+$/$&.0/ \
-  https://github.com/gwaldron/osgearth/releases .*/osgearth-(\d[\d\.]+)\.tar\.gz \
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|b|beta|a|alpha)\d*)$/$1~$2/;s/^\d+\.\d+$/$&.0/ \
+  https://github.com/gwaldron/osgearth/releases .*/osgearth-(\d[\d\.a-z]+)\.tar\.gz \
   debian debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osgearth.git



More information about the Pkg-grass-devel mailing list