[gnomeweb-wml] cheese: correct the stable/unstable check of our script



commit a77ba70a3174b5d0976e371633e41f422ce3e00d
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Tue Jul 14 12:13:09 2009 +0200

    cheese: correct the stable/unstable check of our script

 projects.gnome.org/cheese/update.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/projects.gnome.org/cheese/update.pl b/projects.gnome.org/cheese/update.pl
index e74b916..87f5243 100755
--- a/projects.gnome.org/cheese/update.pl
+++ b/projects.gnome.org/cheese/update.pl
@@ -109,7 +109,8 @@ for (@sorted_keys) {
     print "hash: " . $packages{$_}{"sum"} . "\n";
     print "epoch: " . $packages{$_}{"epoch"} . "\n";
     print "release date: " . $packages{$_}{"mdtm"} . "\n";
-    if ($packages{$_}{"minor"} % 2) {
+    # GNOME release cycle: minor odd number is unstable, except the 0.x releases
+    if ($packages{$_}{"minor"} % 2 && $packages{$_}{"major"} != 0) {
         if ($i < $max_unstables) {
             $i++;
             $fh = UNSTABLE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]