Skip to content

Commit 5c9bd23

Browse files
josephperrottalxhub
authored andcommitted
build: update release configuration to use new release notes system (angular#41905)
Update the ng-dev config for release to use the new release notes system for generating release notes. PR Close angular#41905
1 parent 393ce94 commit 5c9bd23

File tree

3 files changed

+2
-78
lines changed

3 files changed

+2
-78
lines changed

.ng-dev/release.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {join} from 'path';
2-
import {exec} from 'shelljs';
32
import {ReleaseConfig} from '../dev-infra/release/config';
43

54
/** Configuration for the `ng-dev release` command. */
@@ -29,9 +28,8 @@ export const release: ReleaseConfig = {
2928
const {buildTargetPackages} = require(join(__dirname, '../scripts/build/package-builder'));
3029
return buildTargetPackages('dist/release-output', false, 'Release', true);
3130
},
32-
// TODO: This can be removed once there is an org-wide tool for changelog generation.
33-
generateReleaseNotesForHead: async () => {
34-
exec('yarn -s gulp changelog', {cwd: join(__dirname, '../')});
31+
releaseNotes: {
32+
hiddenScopes: ['aio', 'dev-infra', 'docs-infra', 'zone.js'],
3533
},
3634
releasePrLabels: ['comp: build & ci', 'action: merge', 'PullApprove: disable'],
3735
};

gulpfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function loadTask(fileName, taskName) {
1919

2020

2121
gulp.task('source-map-test', loadTask('source-map-test'));
22-
gulp.task('changelog', loadTask('changelog'));
2322
gulp.task('changelog:zonejs', loadTask('changelog-zonejs'));
2423
gulp.task('cldr:extract', loadTask('cldr', 'extract'));
2524
gulp.task('cldr:download', loadTask('cldr', 'download'));

tools/gulp-tasks/changelog.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)