Skip to content

Commit 414a67a

Browse files
authored
Merge pull request #46 from muxinc/dj/fix-binary-err
fix: add execute permissions to binary before publishing
2 parents 116fd5d + 1f9f21e commit 414a67a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ A command-line interface for interacting with the Mux API, designed to provide a
77
### Install via npm
88

99
```bash
10-
npm install -g @mux/cli
10+
npm install -g @mux/cli@beta
1111
```
1212

1313
Or run directly with npx:
1414

1515
```bash
16-
npx @mux/cli@latest
16+
npx @mux/cli@beta
1717
```
1818

1919
### Shell installer

scripts/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ for target in $TARGETS; do
8080

8181
pkg_dir="./packages/@mux/cli-${target}"
8282
cp "$BINARY_DIR/mux-${target}" "${pkg_dir}/mux"
83+
chmod +x "${pkg_dir}/mux"
8384
echo "Publishing @mux/cli-${target}@${VERSION}..."
8485
(cd "$pkg_dir" && npm publish --access public --tag "$NPM_TAG" $PROVENANCE)
8586
rm -f "${pkg_dir}/mux"

0 commit comments

Comments
 (0)