Coho is a script that automates the process for building releases of the Apache Cordova source code.
- Must be run on a Mac with Lion (or later) installed
- Have node installed (v 6.6+)
- Must have git setup
- Install gpg
- Create a keypair if you don't have one already that can be used to sign the release artifact.
./coho all 2.2.0 2.1.0
where 'all' is the commands to run, '2.2.0' is the current version to release, and '2.1.0' is the previous version that will be diff'ed to create a changelog using
git history. Specifying the previous version is optional, if you omit it a changelog will not be generated. Running coho will do a
git checkoutof the tagged specified release version (ie, '2.2.0'). Running coho will also create the
temp/release/srcdirectory which is where the generated artifact will be when coho completes.
Other commands to run:
./coho build 2.2.0 2.1.0builds the release without zipping + signing.
./coho sign 2.2.0 2.1.0will take a built release and zip + sign it. Must run
coho all 2.2.0 2.1.0and the unit tests to verify the packaging of the artifact. You may need to run
npm installto install coffee-script and nodeunit if you wish to run this. You will probably want to change the release version 'VERSION' and the previous version 'OLDVER' variables at the top of the
test/tests.coffeescript from the default values of '2.2.0' and '2.1.0' respectively.
Please file all issues at https://issues.apache.org/jira/browse/CB.