Generate random nightly version

pull/1920/head
Louis Lam 2 years ago
parent 8cdbe37f6f
commit 0ab82e6de3

@ -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);

Loading…
Cancel
Save