Generate random nightly version

This commit is contained in:
Louis Lam 2022-12-04 22:44:50 +08:00
parent 8cdbe37f6f
commit 0ab82e6de3

View File

@ -5,7 +5,7 @@ const util = require("../src/util");
util.polyfill();
const oldVersion = pkg.version;
const newVersion = oldVersion + "-nightly";
const newVersion = oldVersion + "-nightly-" + util.genSecret(8);
console.log("Old Version: " + oldVersion);
console.log("New Version: " + newVersion);