Fix npm bin permissions

This commit is contained in:
auggie2lbcf
2026-05-04 13:14:11 -05:00
parent 9a52bfe7a1
commit 1cbcaea8ec
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -302,7 +302,10 @@ jobs:
- run: |
for release in $(echo "$PLAN" | jq --compact-output '.releases[] | select([.artifacts[] | endswith("-npm-package.tar.gz")] | any)'); do
pkg=$(echo "$release" | jq '.artifacts[] | select(endswith("-npm-package.tar.gz"))' --raw-output)
npm publish --access public "./npm/${pkg}"
package_dir="$(mktemp -d)"
tar -xzf "./npm/${pkg}" -C "$package_dir"
chmod 755 "$package_dir"/package/run-*.js
npm publish --access public "$package_dir/package"
done
announce: