Remove another -rc

This commit is contained in:
IntegerLimit 2023-07-25 16:11:28 +10:00 committed by GitHub
parent 56a29c0210
commit 7d2c428999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ export function makeArtifactNameBody(baseName: string): string {
}
// RC.
else if (process.env.RC_VERSION) {
return `${baseName}-${process.env.RC_VERSION.replace(/^v/, "")}-rc`;
return `${baseName}-${process.env.RC_VERSION.replace(/^v/, "")}`;
}
// 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/")) {