mirror of
https://github.com/cabaletta/baritone
synced 2025-02-16 11:57:04 +00:00
oops
This commit is contained in:
parent
3d95f0ad65
commit
1b3139c99a
2
.github/workflows/gradle_build.yml
vendored
2
.github/workflows/gradle_build.yml
vendored
@ -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)}`;
|
||||
|
Loading…
Reference in New Issue
Block a user