From 93cf63cb06d243873d442f667ca009ef447d409e Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 29 Oct 2024 21:05:06 +0800 Subject: [PATCH] Fix release script --- extra/beta/update-version.js | 2 +- extra/update-version.js | 2 +- extra/update-wiki-version.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extra/beta/update-version.js b/extra/beta/update-version.js index d8e626d0..9ab00155 100644 --- a/extra/beta/update-version.js +++ b/extra/beta/update-version.js @@ -5,7 +5,7 @@ const util = require("../../src/util"); util.polyfill(); -const version = process.env.VERSION; +const version = process.env.RELEASE_BETA_VERSION; console.log("Beta Version: " + version); diff --git a/extra/update-version.js b/extra/update-version.js index 2bc13a78..f9aead09 100644 --- a/extra/update-version.js +++ b/extra/update-version.js @@ -5,7 +5,7 @@ const util = require("../src/util"); util.polyfill(); -const newVersion = process.env.VERSION; +const newVersion = process.env.RELEASE_VERSION; console.log("New Version: " + newVersion); diff --git a/extra/update-wiki-version.js b/extra/update-wiki-version.js index 003deec0..f6c96121 100644 --- a/extra/update-wiki-version.js +++ b/extra/update-wiki-version.js @@ -1,7 +1,7 @@ const childProcess = require("child_process"); const fs = require("fs"); -const newVersion = process.env.VERSION; +const newVersion = process.env.RELEASE_VERSION; if (!newVersion) { console.log("Missing version");