svn: /pear/pear-core/trunk/PEAR/ Command/Package.php Packager.php
| From: | Helgi Þormar Þorbjörnsson | Date: | Tue, 04 Aug 2009 15:10:26 +0000 |
| Subject: | svn: /pear/pear-core/trunk/PEAR/ Command/Package.php Packager.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-56898@lists.php.net to get a copy of this message | ||
dufuz Tue, 04 Aug 2009 15:10:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286809
Log:
Fixes the svn tagging format
Changed paths:
U pear/pear-core/trunk/PEAR/Command/Package.php
U pear/pear-core/trunk/PEAR/Packager.php
Modified: pear/pear-core/trunk/PEAR/Command/Package.php
===================================================================
--- pear/pear-core/trunk/PEAR/Command/Package.php 2009-08-04 14:51:29 UTC (rev 286808)
+++ pear/pear-core/trunk/PEAR/Command/Package.php 2009-08-04 15:10:26 UTC (rev 286809)
@@ -446,7 +446,7 @@
$version = $info->getVersion();
$package = $info->getName();
- $svntag = "release-$version";
+ $svntag = "$package-$version";
$command = 'svn';
if (isset($options['quiet'])) {
$command .= ' -q';
Modified: pear/pear-core/trunk/PEAR/Packager.php
===================================================================
--- pear/pear-core/trunk/PEAR/Packager.php 2009-08-04 14:51:29 UTC (rev 286808)
+++ pear/pear-core/trunk/PEAR/Packager.php 2009-08-04 15:10:26 UTC (rev 286809)
@@ -165,7 +165,7 @@
$this->log(1, "(or set the CVS tag $cvstag by hand)");
} elseif (file_exists("$pkgdir/.svn")) {
$svnversion = preg_replace('/[^a-z0-9]/i', '.',
$pf->getVersion());
- $svntag = "release-$svnversion";
+ $svntag = $pf->getName() . "-$svnversion";
$this->log(1, 'Tag the released code with "pear svntag ' .
$main->getPackageFile() . '"');
$this->log(1, "(or set the SVN tag $svntag by hand)");
@@ -190,7 +190,7 @@
$this->log(1, "(or set the CVS tag $cvstag by hand)");
} elseif (file_exists("$pkgdir/.svn")) {
$svnversion = preg_replace('/[^a-z0-9]/i', '.',
$pf->getVersion());
- $svntag = "release-$svnversion";
+ $svntag = $pf->getName() . "-$svnversion";
$this->log(1, "Tag the released code with `pear svntag
$pkgfile'");
$this->log(1, "(or set the SVN tag $svntag by hand)");
}