cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Commented] (CB-7904) Built nightly releases using coho
Date Thu, 30 Oct 2014 05:14:33 GMT


Steve Gill commented on CB-7904:

Pull request available at

You can checkout the first nightly this built by running `npm install -g cordova@nightly`

I don't have it setup on a server yet.

You can checkout the PR and run `./coho nightly --pretend` to build it locally and not publish
to npm. 

Todo: if npm test fails, stop the script, revert, and report. Right now I have been struggling
finding an event if 1 tests fail. 
Todo: Should npm link your cordova-lib and cordova-cli directories.

> Built nightly releases using coho
> ---------------------------------
>                 Key: CB-7904
>                 URL:
>             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.
> Nothing will be committed back, no branches, no tags. 
> PR incoming

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message