build(zone.js): update changelog of zone.js (#31915)

PR Close #31915
This commit is contained in:
JiaLiPassion 2019-07-30 15:21:52 -06:00 committed by Alex Rickabaugh
parent ebb27727e4
commit fa4e17082c
3 changed files with 21 additions and 10 deletions

View File

@ -1,3 +1,14 @@
<a name="0.10.1"></a>
# [0.10.1](https://github.com/angular/angular/compare/zone.js-0.10.0...zone.js-0.10.1) (2019-07-30)
### Bug Fixes
* **zone.js:** don't rely on global node typings outside of node/ directory ([#31783](https://github.com/angular/angular/issues/31783)) ([5c9a896](https://github.com/angular/angular/commit/5c9a896))
* **zone.js:** should expose some other internal intefaces ([#31866](https://github.com/angular/angular/issues/31866)) ([f5c605b](https://github.com/angular/angular/commit/f5c605b))
<a name="0.10.0"></a> <a name="0.10.0"></a>
# [0.10.0](https://github.com/angular/angular/compare/7b3bcc2...174770e) (2019-07-26) # [0.10.0](https://github.com/angular/angular/compare/7b3bcc2...174770e) (2019-07-26)

View File

@ -90,6 +90,7 @@ $ git tag $TAG
- create a PR to update `changelog` of zone.js - create a PR to update `changelog` of zone.js
``` ```
$ export PREVIOUS_ZONE_TAG=<PREVIOUS ZONE RELEASE TAG>
$ yarn gulp changelog:zonejs $ yarn gulp changelog:zonejs
``` ```

View File

@ -7,17 +7,16 @@
*/ */
module.exports = (gulp) => () => { module.exports = (gulp) => () => {
const tag = process.env.ZONE_TAG; const tag = process.env.TAG;
const ptag = process.env.PREVIOUS_ZONE_TAG;
const conventionalChangelog = require('gulp-conventional-changelog'); const conventionalChangelog = require('gulp-conventional-changelog');
return gulp.src('packages/zone.js/CHANGELOG.md') return gulp.src('packages/zone.js/CHANGELOG.md')
.pipe(conventionalChangelog( .pipe(conventionalChangelog({preset: 'angular'}, {}, {
{preset: 'angular'}, { // Ignore commits that have a different scope than `zone.js`.
currentTag: tag, extendedRegexp: true,
}, grep: '^[^(]+\\(zone\\.js\\)',
{ from: ptag,
// Ignore commits that have a different scope than `zone.js`. to: tag,
extendedRegexp: true, }))
grep: '^[^(]+\\(zone\\.js\\)',
}))
.pipe(gulp.dest('./packages/zone.js/')); .pipe(gulp.dest('./packages/zone.js/'));
}; };