mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(forge): slashes in ref name breaking copying
This commit is contained in:
parent
095fbb7015
commit
fb800eb96b
@ -169,7 +169,7 @@ module.exports = {
|
|||||||
// Override the extension for the CI.
|
// Override the extension for the CI.
|
||||||
const { TRILIUM_ARTIFACT_NAME_HINT } = process.env;
|
const { TRILIUM_ARTIFACT_NAME_HINT } = process.env;
|
||||||
if (TRILIUM_ARTIFACT_NAME_HINT) {
|
if (TRILIUM_ARTIFACT_NAME_HINT) {
|
||||||
fileName = TRILIUM_ARTIFACT_NAME_HINT + extension;
|
fileName = TRILIUM_ARTIFACT_NAME_HINT.replaceAll("/", "-") + extension;
|
||||||
}
|
}
|
||||||
|
|
||||||
const outputPath = path.join(outputDir, fileName);
|
const outputPath = path.join(outputDir, fileName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user