Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
boomzero committed Jan 21, 2024
1 parent 3eaed8d commit a8a4176
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Update/UpdateVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var JSONObject = JSON.parse(JSONFileContent);
var LastJSONVersion = Object.keys(JSONObject.UpdateHistory)[Object.keys(JSONObject.UpdateHistory).length - 1];
var LastJSVersion = JSFileContent.match(/@version\s+(\d+\.\d+\.\d+)/)[1];
var LastVersion = LastJSVersion.split(".");
var LastPR = 371;
var LastDescription = " ";
var LastPR = JSONObject.UpdateHistory[LastJSONVersion].UpdateContents[0].PR;
var LastDescription = JSONObject.UpdateHistory[LastJSONVersion].UpdateContents[0].Description;
var LastReleaseVersionOnline = execSync("gh release list --exclude-pre-releases --limit 1").toString().trim().split("\t")[2];
var NpmVersion = execSync("jq -r '.version' package.json").toString().trim();
console.log("Last JS version : " + LastJSVersion);
Expand All @@ -31,6 +31,8 @@ if (LastJSONVersion != LastJSVersion) {
process.exit(1);
}

execSync("git config --global user.email \"github-actions[bot]@users.noreply.github.com\"");
execSync("git config --global user.name \"github-actions[bot]\"");
var CurrentPR = Number(PRNumber);
var CurrentDescription = String(process.argv[4]);
if (LastJSVersion != NpmVersion) {
Expand Down

0 comments on commit a8a4176

Please sign in to comment.