Skip to content

Commit 5afd207

Browse files
authored
Merge pull request #149 from paulober/develop
Fix publish script
2 parents 93ad410 + 692b3bd commit 5afd207

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/publish.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ for platform in "${platforms[@]}"; do
3434
rm -r "dist/scripts/wrapper_$platform"
3535
done
3636

37-
# Find all .vsix files and join them into a space-separated string
38-
package_paths=$(find . -name "*.vsix" -type f -exec echo -n "{} " \;)
39-
40-
# Publish the packages
41-
npx @vscode/vsce publish --packagePath "$package_paths"
37+
# Find all .vsix files and publish them one by one
38+
find . -name "*.vsix" -type f | while read -r package_path; do
39+
npx @vscode/vsce publish --packagePath "$package_path"
40+
done

0 commit comments

Comments
 (0)