Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7904

Built nightly releases using coho

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              stevegill Steve Gill
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: