From 5433553131982ac25a6393e8e130399de67020ba Mon Sep 17 00:00:00 2001 From: Yui Date: Mon, 16 May 2016 16:57:11 -0700 Subject: [PATCH] Fix 8589: by appending "-1.0" pre-release version will be comparising by lexically comparison in ASCII sort order. (#8629) --- scripts/configureNightly.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configureNightly.ts b/scripts/configureNightly.ts index 640f330b376..8553c15ebd0 100644 --- a/scripts/configureNightly.ts +++ b/scripts/configureNightly.ts @@ -67,7 +67,7 @@ function getNightlyVersionString(versionString: string): string { const now = new Date(); const timeStr = now.toISOString().replace(/:|T|\.|-/g, "").slice(0, 8); - return `${versionString}-dev.${timeStr}`; + return `${versionString}-dev.${timeStr}-1.0`; } main(); \ No newline at end of file