Fix npm bin permissions
This commit is contained in:
@@ -302,7 +302,10 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
for release in $(echo "$PLAN" | jq --compact-output '.releases[] | select([.artifacts[] | endswith("-npm-package.tar.gz")] | any)'); do
|
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)
|
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
|
done
|
||||||
|
|
||||||
announce:
|
announce:
|
||||||
|
|||||||
Generated
+1
-1
@@ -436,7 +436,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tui2"
|
name = "tui2"
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crossterm",
|
"crossterm",
|
||||||
"ratatui",
|
"ratatui",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tui2"
|
name = "tui2"
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
authors = ["Austin"]
|
authors = ["Austin"]
|
||||||
description = "A terminal UI launcher for terminal UI apps"
|
description = "A terminal UI launcher for terminal UI apps"
|
||||||
|
|||||||
Reference in New Issue
Block a user