Skip to content

Commit

Permalink
fix: remove the periods between name and version in the archive file …
Browse files Browse the repository at this point in the history
…name (#2)

default behaviour for `[].join()` is to join using ','
added join parameter `""`
  • Loading branch information
SVNKoch authored Jul 20, 2024
1 parent 1467eb7 commit 8d2a9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 8d2a9f4

Please sign in to comment.