[Libreoffice-commits] dev-tools.git: ciabot/libreoffice-bugzilla2.py

Michael Stahl mstahl at redhat.com
Mon Jun 15 07:20:44 PDT 2015


 ciabot/libreoffice-bugzilla2.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 3fdce0d4888960a21cca660a099fd34cd7336b42
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Jun 15 16:15:46 2015 +0200

    libreoffice-bugzilla2.py: try to fix unscheduled 5.0 beta3 issue
    
    ... which results in beta4 instead of rc1 currently.
    
    Change-Id: Ifd0a0dac3a7ac65b0a712646bb68670657744c69
    Reviewed-on: https://gerrit.libreoffice.org/16294
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/ciabot/libreoffice-bugzilla2.py b/ciabot/libreoffice-bugzilla2.py
index baeff47..17fa6d1 100644
--- a/ciabot/libreoffice-bugzilla2.py
+++ b/ciabot/libreoffice-bugzilla2.py
@@ -131,8 +131,9 @@ def find_target_version(repo, branch):
             if len(beta_list) == 0:
                 # no beta yet
                 return base + ".0.0.beta0"
-            if max(beta_list) == 3:
-                # we only release three betas, therefore now the next will be a RC
+            if max(beta_list) >= 2:
+                # we only release two betas (except when we release three),
+                # therefore now the next will be a RC
                 return base + ".0.1"
             
             # normal beta


More information about the Libreoffice-commits mailing list