Author: ihabunek
Date: Sat Jun 25 15:56:18 2011
New Revision: 1139564

URL: http://svn.apache.org/viewvc?rev=1139564&view=rev
Log:
Minor update to pear package config.

Modified:
    logging/log4php/trunk/package-config.php

Modified: logging/log4php/trunk/package-config.php
URL: 
http://svn.apache.org/viewvc/logging/log4php/trunk/package-config.php?rev=1139564&r1=1139563&r2=1139564&view=diff
==============================================================================
--- logging/log4php/trunk/package-config.php (original)
+++ logging/log4php/trunk/package-config.php Sat Jun 25 15:56:18 2011
@@ -22,7 +22,13 @@ $pom_version = (string) $xml->version;
 
 preg_match("/^([^-]+)(-SNAPSHOT)?$/", $pom_version, $matches);
 $version = $matches[1];
-$stability = empty($matches[2]) ? 'stable' : 'devel';
+
+// Maven release plugin always requires the version to have -SNAPSHOT in 
+// the version node. So this is not possible:  
+// $stability = empty($matches[2]) ? 'stable' : 'devel';
+
+// Hard coded to stable. Maybe find better solution.
+$stability = 'stable';
 
 $name = 'Apache_log4php';
 $summary = 'Apache log4php is a logging framework for PHP.';


Reply via email to