mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
build - reuse the same date across builds (#220076)
This commit is contained in:
@@ -15,7 +15,7 @@ const replace = require('gulp-replace');
|
||||
const filter = require('gulp-filter');
|
||||
const util = require('./lib/util');
|
||||
const { getVersion } = require('./lib/getVersion');
|
||||
const { date } = require('./lib/date');
|
||||
const { readISODate } = require('./lib/date');
|
||||
const task = require('./lib/task');
|
||||
const buildfile = require('../src/buildfile');
|
||||
const optimize = require('./lib/optimize');
|
||||
@@ -259,7 +259,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||
|
||||
let productJsonContents;
|
||||
const productJsonStream = gulp.src(['product.json'], { base: '.' })
|
||||
.pipe(json({ commit, date, checksums, version }))
|
||||
.pipe(json({ commit, date: readISODate('out-build'), checksums, version }))
|
||||
.pipe(es.through(function (file) {
|
||||
productJsonContents = file.contents.toString();
|
||||
this.emit('data', file);
|
||||
|
||||
Reference in New Issue
Block a user