Copy version string from package.xml although plugin versions should be derived from git tags

pull/120/merge
Thomas Bruederli 11 years ago
parent 2c6a233a99
commit 1390316a87

@ -39,6 +39,7 @@ $data = array(
'description' => trim(strval($package->description), '- ') ? trim(strval($package->description)) : trim(strval($package->summary)),
'homepage' => strval($package->uri),
'license' => 'GPLv3+',
'version' => strval($package->version->release),
'authors' => array(),
'repositories' => array(
array('type' => 'composer', 'url' => 'http://plugins.roundcube.net'),
@ -55,6 +56,9 @@ if ($package->license) {
if ($package->lead) {
foreach ($package->lead as $lead) {
if (strval($lead->active) == 'no') {
continue;
}
$data['authors'][] = array(
'name' => strval($lead->name),
'email' => strval($lead->email),

Loading…
Cancel
Save