From 7a282dbc1a26fbba45014177eb947a99c86ffe25 Mon Sep 17 00:00:00 2001 From: Josh Thomas Date: Mon, 6 Jun 2016 13:20:22 -0500 Subject: [PATCH] chore(): CHANGELOG and package update for release beta30. --- CHANGELOG.md | 15 ++++++++++++--- package.json | 2 +- scripts/release.js | 16 +++++++++++----- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d57fcd27b..ca0c32ff4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ + +# [2.0.0-beta.30](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.29...v2.0.0-beta.30) (2016-06-06) + + +### Bug Fixes +* ensure that the project base directory is passed to setupLiveReload. fixes [#1034](https://github.com/driftyco/ionic-cli/issues/1034) ([f36acef](https://github.com/driftyco/ionic-cli/commit/f36acef)), closes [#1034](https://github.com/driftyco/ionic-cli/issues/1034) +* ensure when bower exec throws an error it is caught. fixes [#1037](https://github.com/driftyco/ionic-cli/issues/1037). ([53bcbbb](https://github.com/driftyco/ionic-cli/commit/53bcbbb)), closes [#1037](https://github.com/driftyco/ionic-cli/issues/1037) + + -# [2.0.0-beta.29](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.25...v2.0.0-beta.29) (2016-06-02) +# [2.0.0-beta.29](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.28...v2.0.0-beta.29) (2016-06-02) ### Bug Fixes @@ -8,7 +17,7 @@ -# [2.0.0-beta.28](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.25...v2.0.0-beta.28) (2016-06-02) +# [2.0.0-beta.28](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.27...v2.0.0-beta.28) (2016-06-02) ### Bug Fixes @@ -17,7 +26,7 @@ -# [2.0.0-beta.27](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.25...v2.0.0-beta.27) (2016-06-02) +# [2.0.0-beta.27](https://github.com/driftyco/ionic-cli/compare/v2.0.0-beta.26...v2.0.0-beta.27) (2016-06-02) ### Bug Fixes diff --git a/package.json b/package.json index 57ef2b7f23..1fed23fd9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ionic", - "version": "2.0.0-beta.29", + "version": "2.0.0-beta.30", "preferGlobal": true, "description": "A tool for creating and developing Ionic Framework mobile apps.", "homepage": "http://ionicframework.com/", diff --git a/scripts/release.js b/scripts/release.js index 9ffa999755..cf772c600f 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -1,3 +1,9 @@ +/* + * This script will create a new github release using the verion + * specified from within the package.json file. The output from + * the changelog command will be the body of the tag. The name + * is the package.JSON.version + */ var changelog = require('conventional-changelog'); var GithubApi = require('github'); var packageJSON = require('../package.json'); @@ -15,16 +21,16 @@ github.authenticate({ return changelog({ preset: 'angular' }) -.pipe(through.obj(function(file, enc, cb){ +.pipe(through.obj(function(file) { github.releases.createRelease({ owner: 'driftyco', repo: 'ionic-cli', - target_commitish: 'v2', - tag_name: 'v' + packageJSON.version, + target_commitish: 'v2', // eslint-disable-line camelcase + tag_name: 'v' + packageJSON.version, // eslint-disable-line camelcase name: packageJSON.version, body: file.toString(), - prerelease: true, - }, function(err, data){ + prerelease: true + }, function(err, data) { if (err) console.log('error: ' + err); console.log(data); });