mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-12 14:27:35 -08:00
Generate random nightly version
This commit is contained in:
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…
Reference in a new issue