1
0
mirror of https://github.com/cabaletta/baritone synced 2025-02-16 11:57:04 +00:00
This commit is contained in:
Wagyourtail 2022-06-01 16:21:21 -06:00
parent 3d95f0ad65
commit 1b3139c99a
No known key found for this signature in database
GPG Key ID: 919725C5A647667A

View File

@ -30,7 +30,7 @@ jobs:
file = file.toString().split("\n").map(e => {
if (!e.trim().startsWith("mod_version")) return e;
let vers = e.split(".");
let n = parseInt(vers[vers.length]) + 1;
let n = parseInt(vers[vers.length-1].trim()) + 1;
vers = vers.slice(0, vers.length - 1);
vers.push(n);
return `${vers.join(".")}-beta-${process.env.GITHUB_SHA.substring(0, 7)}`;