Remove -rc at end of built zips

This commit is contained in:
IntegerLimit 2023-07-24 22:24:46 +10:00 committed by GitHub
parent a3e1e6f5cc
commit 790aa3af9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export default async function transformManifestVersion(): Promise<void> {
modpackManifest.version = tag; modpackManifest.version = tag;
} }
// If we're buildig a release candidate, transform it appropriately. // If we're building a release candidate, transform it appropriately.
else if (process.env.RC_VERSION) { else if (process.env.RC_VERSION) {
const rcVer = process.env.RC_VERSION; const rcVer = process.env.RC_VERSION;
const flavorTitle = process.env.BUILD_FLAVOR_TITLE; const flavorTitle = process.env.BUILD_FLAVOR_TITLE;
@ -30,7 +30,8 @@ export default async function transformManifestVersion(): Promise<void> {
.filter(Boolean) .filter(Boolean)
.join(" - "); .join(" - ");
modpackManifest.version = [rcVer, "rc"].join("-"); modpackManifest.version = rcVer;
// modpackManifest.version = [rcVer, "rc"].join("-"); // No need for rc at end of name
} }
// If SHA is provided and the build isn't tagged, append both the branch and short SHA. // If SHA is provided and the build isn't tagged, append both the branch and short SHA.
else if (process.env.GITHUB_SHA && process.env.GITHUB_REF && process.env.GITHUB_REF.startsWith("refs/heads/")) { else if (process.env.GITHUB_SHA && process.env.GITHUB_REF && process.env.GITHUB_REF.startsWith("refs/heads/")) {