From edf18f39740a86c9d30c868e9118df6cd1c50ad4 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Thu, 16 Sep 2021 14:07:08 -0700 Subject: [PATCH] add metadata header files to upload --- build/azure-pipelines/upload-nlsmetadata.js | 2 +- build/azure-pipelines/upload-nlsmetadata.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/build/azure-pipelines/upload-nlsmetadata.js b/build/azure-pipelines/upload-nlsmetadata.js index 5b4b4259320..7df11448dc1 100644 --- a/build/azure-pipelines/upload-nlsmetadata.js +++ b/build/azure-pipelines/upload-nlsmetadata.js @@ -13,7 +13,7 @@ const azure = require('gulp-azure-storage'); const root = path.dirname(path.dirname(__dirname)); const commit = util.getVersion(root); function main() { - return es.merge(vfs.src('out-vscode-min/nls.metadata.json', { base: 'out-vscode-min' }), vfs.src('.build/extensions/**/nls.metadata.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/package.nls.json', { base: '.build/extensions' })) + return es.merge(vfs.src('out-vscode-min/nls.metadata.json', { base: 'out-vscode-min' }), vfs.src('.build/extensions/**/nls.metadata.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/nls.metadata.header.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/package.nls.json', { base: '.build/extensions' })) .pipe(merge({ fileName: 'combined.nls.metadata.json', edit: (parsedJson, file) => { diff --git a/build/azure-pipelines/upload-nlsmetadata.ts b/build/azure-pipelines/upload-nlsmetadata.ts index 7264505f2e1..89557b778bb 100644 --- a/build/azure-pipelines/upload-nlsmetadata.ts +++ b/build/azure-pipelines/upload-nlsmetadata.ts @@ -16,15 +16,11 @@ const azure = require('gulp-azure-storage'); const root = path.dirname(path.dirname(__dirname)); const commit = util.getVersion(root); -interface PackageNlsJson { - messages: string[]; - keys: Array; -} - function main() { return es.merge( vfs.src('out-vscode-min/nls.metadata.json', { base: 'out-vscode-min' }), vfs.src('.build/extensions/**/nls.metadata.json', { base: '.build/extensions' }), + vfs.src('.build/extensions/**/nls.metadata.header.json', { base: '.build/extensions' }), vfs.src('.build/extensions/**/package.nls.json', { base: '.build/extensions' })) .pipe(merge({ fileName: 'combined.nls.metadata.json',