Skip to content

Commit

Permalink
Internal: Introduced release tasks. Closes #378.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Feb 22, 2017
1 parent e8a8f68 commit 0d3e971
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,21 @@ function getTestOptions() {
return require( '@ckeditor/ckeditor5-dev-tests' )
.parseArguments( process.argv.slice( 2 ) );
}

// Releasing. -----------------------------------------------------------------

gulp.task( 'changelog:dependencies', () => {
return require( '@ckeditor/ckeditor5-dev-env' )
.generateChangelogForDependencies( {
cwd: process.cwd(),
packages: 'packages'
} );
} );

gulp.task( 'release:dependencies', () => {
return require( '@ckeditor/ckeditor5-dev-env' )
.releaseDependencies( {
cwd: process.cwd(),
packages: 'packages'
} );
} );
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"devDependencies": {
"@ckeditor/ckeditor5-dev-docs": "^6.1.2",
"@ckeditor/ckeditor5-dev-env": "^4.0.0",
"@ckeditor/ckeditor5-dev-lint": "^2.0.2",
"@ckeditor/ckeditor5-dev-tests": "^7.0.2",
"gulp": "^3.9.0",
Expand Down

0 comments on commit 0d3e971

Please sign in to comment.