Thomas Bruederli
2013-09-25 1390316a872c7c1ec24169e0d1f3922d93c3b42d
Copy version string from package.xml although plugin versions should be derived from git tags
1 files modified
4 ■■■■ changed files
bin/package2composer.sh 4 ●●●● patch | view | raw | blame | history
bin/package2composer.sh
@@ -39,6 +39,7 @@
    '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->lead) {
    foreach ($package->lead as $lead) {
        if (strval($lead->active) == 'no') {
            continue;
        }
        $data['authors'][] = array(
            'name' => strval($lead->name),
            'email' => strval($lead->email),