Steve Gill created CB-7904:
------------------------------

             Summary: Built nightly releases using coho
                 Key: CB-7904
                 URL: https://issues.apache.org/jira/browse/CB-7904
             Project: Apache Cordova
          Issue Type: New Feature
          Components: CLI, Coho, CordovaLib
            Reporter: Steve Gill
            Assignee: Steve Gill


I am working on adding a new command: `coho nightly` 

How it works:
1) Update repos for all platforms + cli + lib to latest commits
2) grab commit hash for every platform and save it to shas.json in the cli repo
3) Replace version field in cordova-lib/src/cordova/platformsConfig.json 
(formally platforms.js) for each platform with the sha. 
4) Update versions of cli + lib to remove `-dev` and add `-night.YEAR.MONTH.DAY`
5) Run `npm test` for cli + lib
6) Publish to npm under nightly tag.
7) Install with `npm install -g cordova@nightly`

Using updated cli + tools, you would have to do `cordova platform add --usegit` 
when adding platforms now.

This script would run once a day. Set it up as a cron job on some server.

PR incoming



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to