mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
This repository's changelog is the truth
This commit is contained in:
parent
4517bc53a7
commit
f635a90223
2 changed files with 3 additions and 7 deletions
|
|
@ -31,23 +31,18 @@ gulp.task('release', ['clean-release'], function() {
|
|||
}))
|
||||
.pipe(gulp.dest('release')),
|
||||
|
||||
gulp.src('CHANGELOG.md'),
|
||||
|
||||
// min-maps folder
|
||||
gulp.src('node_modules/monaco-editor-core/min-maps/**/*').pipe(gulp.dest('release/min-maps')),
|
||||
|
||||
// other files
|
||||
gulp.src([
|
||||
'node_modules/monaco-editor-core/LICENSE',
|
||||
'node_modules/monaco-editor-core/CHANGELOG.md',
|
||||
'node_modules/monaco-editor-core/monaco.d.ts',
|
||||
'node_modules/monaco-editor-core/ThirdPartyNotices.txt',
|
||||
'README.md'
|
||||
])
|
||||
.pipe(es.through(function(data) {
|
||||
if (/CHANGELOG\.md$/.test(data.path)) {
|
||||
fs.writeFileSync('CHANGELOG.md', data.contents);
|
||||
}
|
||||
this.emit('data', data);
|
||||
}))
|
||||
.pipe(addPluginDTS())
|
||||
.pipe(addPluginThirdPartyNotices())
|
||||
.pipe(gulp.dest('release'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue