Skip to content

Commit a78b6ba

Browse files
committed
Fix quoting of docker command
The version of bash in the build container doesn't like parens `(...)` (usually meaning "run in a subshell"), so when I removed the _evaluation_ `$(...)` in 9b56712 it decided not to run at all. On the other hand, just removing the parens doesn't fix it: it needs double quoting because it's being passed to docker.
1 parent c6607e4 commit a78b6ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

run-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ if [ -z "$NPM_TOKEN" ]; then
6868
exit 1
6969
fi
7070
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > @jkcfg/std/.npmrc
71-
docker_run bash -c '(cd @jkcfg/std && npm publish)'
71+
docker_run bash -c "'cd @jkcfg/std && npm publish'"

0 commit comments

Comments
 (0)