[Pkg-javascript-commits] [mathjax] 02/05: Update debian/watch to properly handle upstream beta releases.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Jan 2 11:41:58 UTC 2016


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

mitya57 pushed a commit to branch master
in repository mathjax.

commit a3ea1b126551f4645c2043b4f6cfadd8ef9a7e1e
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Jan 2 14:29:27 2016 +0300

    Update debian/watch to properly handle upstream beta releases.
---
 debian/changelog | 1 +
 debian/watch     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7a11c84..f10729c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mathjax (2.6.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Update debian/watch to properly handle upstream beta releases.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 02 Jan 2016 14:28:16 +0300
 
diff --git a/debian/watch b/debian/watch
index e17290a..0430b9e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -4,5 +4,5 @@
 # Compulsory line, this is a version 3 file
 version=3
 
-opts=filenamemangle=s/.*archive\/v?(.*).tar.gz/mathjax_$1.orig.tar.gz/ \
+opts=uversionmangle=s/-/~/,filenamemangle=s/.*archive\/v?(.*).tar.gz/mathjax_$1.orig.tar.gz/ \
 https://github.com/mathjax/MathJax/releases .*/archive/v?(.*).tar.gz

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



More information about the Pkg-javascript-commits mailing list