From 8d2a9f4177f439fc9dcb0e8dd90cfb42abf283c7 Mon Sep 17 00:00:00 2001 From: Sven Koch <39488412+SVNKoch@users.noreply.github.com> Date: Sat, 20 Jul 2024 08:52:14 +0200 Subject: [PATCH] fix: remove the periods between name and version in the archive file name (#2) default behaviour for `[].join()` is to join using ',' added join parameter `""` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6468b5c..ad55e24 100644 --- a/index.js +++ b/index.js @@ -54,7 +54,7 @@ async function publish(config, context) { try { const info = await readInfoFile(config, context); - const archiveFile = [info.name, "_", info.version, ".zip"].join(); + const archiveFile = [info.name, "_", info.version, ".zip"].join(""); const archiveCommand = "git archive --format zip --prefix " + info.name + "/ --worktree-attributes --output " + archiveFile + " HEAD";