Skip to content

Commit acb573c

Browse files
author
Christopher - Marcel Böddecker
committed
fix(templates): package release to GitHub
1 parent e5ff8bf commit acb573c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/steps/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ steps:
318318
displayName: Create semantic-release.config.js
319319
- bash: |
320320
cat > npm-tarball-to-zip.sh <<- "EOF"
321-
tarball=$(npm list --depth 0 | sed "s/@/-/g; s/ .*/.tgz/g; 1q;")
321+
tarball=$(find . -name "*.tgz")
322322
zipName=$(echo $tarball | sed -e "s/\.[^.]*$//").zip
323323
files=$(tar -tf $tarball | sed "s/^package\\///")
324324
npx --no-install --cache ../node_modules bestzip $zipName $files

0 commit comments

Comments
 (0)