mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Fix release script
This commit is contained in:
parent
03bdaf70ca
commit
93cf63cb06
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ const util = require("../../src/util");
|
||||||
|
|
||||||
util.polyfill();
|
util.polyfill();
|
||||||
|
|
||||||
const version = process.env.VERSION;
|
const version = process.env.RELEASE_BETA_VERSION;
|
||||||
|
|
||||||
console.log("Beta Version: " + version);
|
console.log("Beta Version: " + version);
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ const util = require("../src/util");
|
||||||
|
|
||||||
util.polyfill();
|
util.polyfill();
|
||||||
|
|
||||||
const newVersion = process.env.VERSION;
|
const newVersion = process.env.RELEASE_VERSION;
|
||||||
|
|
||||||
console.log("New Version: " + newVersion);
|
console.log("New Version: " + newVersion);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const childProcess = require("child_process");
|
const childProcess = require("child_process");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
||||||
const newVersion = process.env.VERSION;
|
const newVersion = process.env.RELEASE_VERSION;
|
||||||
|
|
||||||
if (!newVersion) {
|
if (!newVersion) {
|
||||||
console.log("Missing version");
|
console.log("Missing version");
|
||||||
|
|
Loading…
Reference in a new issue