You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ch...@apache.org on 2009/10/31 19:31:37 UTC
svn commit: r831580 - /incubator/log4php/trunk/package-config.php
Author: chammers
Date: Sat Oct 31 18:31:36 2009
New Revision: 831580
URL: http://svn.apache.org/viewvc?rev=831580&view=rev
Log:
* incubating is appended to version
* SNAPSHOT translated to package state "stable" or "snapshot"
Modified:
incubator/log4php/trunk/package-config.php
Modified: incubator/log4php/trunk/package-config.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/package-config.php?rev=831580&r1=831579&r2=831580&view=diff
==============================================================================
--- incubator/log4php/trunk/package-config.php (original)
+++ incubator/log4php/trunk/package-config.php Sat Oct 31 18:31:36 2009
@@ -17,14 +17,14 @@
*/
// parse pom.xml to get version in sync
-preg_match("/<version>(.+?)(-(\w+))?<\/version>/", file_get_contents("../../pom.xml"), $pom_version);
+preg_match("/<version>(.+?)(-(incubating))?(-SNAPSHOT)?<\/version>/", file_get_contents("../../pom.xml"), $pom_version);
$name = 'Apache_log4php';
$summary = 'log4php is a PHP port of log4j framework';
$version = $pom_version[1].(empty($pom_version[3]) ? '' : $pom_version[3]);
$versionBuild = 'b1';
$apiVersion = '2.0.0';
-$state = empty($pom_version[3]) ? 'stable' : 'snapshot';
+$state = empty($pom_version[4]) ? 'stable' : 'snapshot';
$apiStability = 'stable';
$description = <<<EOT