Skip to content

Commit a8a5ea6

Browse files
committed
Update file with version string for nightly release
1 parent 17e1e15 commit a8a5ea6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Gulpfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ for (const i in libraryTargets) {
174174
const configureNightlyJs = path.join(scriptsDirectory, "configureNightly.js");
175175
const configureNightlyTs = path.join(scriptsDirectory, "configureNightly.ts");
176176
const packageJson = "package.json";
177-
const programTs = path.join(compilerDirectory, "program.ts");
177+
const versionFile = path.join(compilerDirectory, "core.ts");
178178

179179
function needsUpdate(source: string | string[], dest: string | string[]): boolean {
180180
if (typeof source === "string" && typeof dest === "string") {
@@ -282,7 +282,7 @@ gulp.task(configureNightlyJs, false, [], () => {
282282

283283
// Nightly management tasks
284284
gulp.task("configure-nightly", "Runs scripts/configureNightly.ts to prepare a build for nightly publishing", [configureNightlyJs], (done) => {
285-
exec(host, [configureNightlyJs, packageJson, programTs], done, done);
285+
exec(host, [configureNightlyJs, packageJson, versionFile], done, done);
286286
});
287287
gulp.task("publish-nightly", "Runs `npm publish --tag next` to create a new nightly build on npm", ["LKG"], () => {
288288
return runSequence("clean", "useDebugMode", "runtests", (done) => {

Jakefile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ task("generate-diagnostics", [diagnosticInfoMapTs]);
539539
var configureNightlyJs = path.join(scriptsDirectory, "configureNightly.js");
540540
var configureNightlyTs = path.join(scriptsDirectory, "configureNightly.ts");
541541
var packageJson = "package.json";
542-
var programTs = path.join(compilerDirectory, "program.ts");
542+
var versionFile = path.join(compilerDirectory, "core.ts");
543543

544544
file(configureNightlyTs);
545545

@@ -555,7 +555,7 @@ task("setDebugMode", function () {
555555
});
556556

557557
task("configure-nightly", [configureNightlyJs], function () {
558-
var cmd = host + " " + configureNightlyJs + " " + packageJson + " " + programTs;
558+
var cmd = host + " " + configureNightlyJs + " " + packageJson + " " + versionFile;
559559
console.log(cmd);
560560
exec(cmd);
561561
}, { async: true });

0 commit comments

Comments
 (0)