Skip to content

Commit

Permalink
Merge pull request #149 from paulober/develop
Browse files Browse the repository at this point in the history
Fix publish script
  • Loading branch information
paulober authored Oct 18, 2023
2 parents 93ad410 + 692b3bd commit 5afd207
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ for platform in "${platforms[@]}"; do
rm -r "dist/scripts/wrapper_$platform"
done

# Find all .vsix files and join them into a space-separated string
package_paths=$(find . -name "*.vsix" -type f -exec echo -n "{} " \;)

# Publish the packages
npx @vscode/vsce publish --packagePath "$package_paths"
# Find all .vsix files and publish them one by one
find . -name "*.vsix" -type f | while read -r package_path; do
npx @vscode/vsce publish --packagePath "$package_path"
done

0 comments on commit 5afd207

Please sign in to comment.