fix(forge): slashes in ref name breaking copying

pull/1569/head
Elian Doran 2025-03-30 16:44:46 +07:00
parent 095fbb7015
commit fb800eb96b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -169,7 +169,7 @@ module.exports = {
// Override the extension for the CI.
const { TRILIUM_ARTIFACT_NAME_HINT } = process.env;
if (TRILIUM_ARTIFACT_NAME_HINT) {
fileName = TRILIUM_ARTIFACT_NAME_HINT + extension;
fileName = TRILIUM_ARTIFACT_NAME_HINT.replaceAll("/", "-") + extension;
}
const outputPath = path.join(outputDir, fileName);