You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/05/17 10:11:12 UTC

[jira] [Updated] (CB-11275) Preserve 7 latest nightly versions

     [ https://issues.apache.org/jira/browse/CB-11275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shakhnazarov updated CB-11275:
-------------------------------------
    Description: 
{noformat}
// Get the latest nightly,
//   extract the date, compare with the current date

    // (updating the current nightly) If the latest nightly has the same date,
    //   unpublish it and append a suffix to the nightly version, for example:
    // 1.0.2-nightly.2016.5.16+28033181 -> 1.0.2-nightly.2016.5.16.2+28324728
    // 1.0.2-nightly.2016.5.16.2+28324728 -> 1.0.2-nightly.2016.5.16.3+NEXT_SHA

    // (adding a new nightly to the list) If the latest nightly has a different date,
    //   get npm view packageName versions,
    //   filter them by nightly prefix,
    //   get N (7) most recent versions (sort by date),
    //   unpublish the older ones

// publish new nightly build to npm under nightly tag

{noformat}

> Preserve 7 latest nightly versions
> ----------------------------------
>
>                 Key: CB-11275
>                 URL: https://issues.apache.org/jira/browse/CB-11275
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Coho
>            Reporter: Sergey Shakhnazarov
>            Assignee: Sergey Shakhnazarov
>
> {noformat}
> // Get the latest nightly,
> //   extract the date, compare with the current date
>     // (updating the current nightly) If the latest nightly has the same date,
>     //   unpublish it and append a suffix to the nightly version, for example:
>     // 1.0.2-nightly.2016.5.16+28033181 -> 1.0.2-nightly.2016.5.16.2+28324728
>     // 1.0.2-nightly.2016.5.16.2+28324728 -> 1.0.2-nightly.2016.5.16.3+NEXT_SHA
>     // (adding a new nightly to the list) If the latest nightly has a different date,
>     //   get npm view packageName versions,
>     //   filter them by nightly prefix,
>     //   get N (7) most recent versions (sort by date),
>     //   unpublish the older ones
> // publish new nightly build to npm under nightly tag
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org