Skip to content

Commit

Permalink
chore(): CHANGELOG and package update for release beta30.
Browse files Browse the repository at this point in the history
  • Loading branch information
jthoms1 committed Jun 6, 2016
1 parent 1728ae0 commit 7a282db
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<a name="2.0.0-beta.30"></a>
# [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)


<a name="2.0.0-beta.29"></a>
# [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
Expand All @@ -8,7 +17,7 @@


<a name="2.0.0-beta.28"></a>
# [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
Expand All @@ -17,7 +26,7 @@


<a name="2.0.0-beta.27"></a>
# [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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
16 changes: 11 additions & 5 deletions scripts/release.js
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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);
});
Expand Down

0 comments on commit 7a282db

Please sign in to comment.