Skip to content

fix(publish-npm): fix shellcheck findings in npm scripts - #165

Merged
PierreJeanjacquot merged 1 commit into
mainfrom
fix/publish-npm-shellcheck
Sep 29, 2026
Merged

PierreJeanjacquot merged 1 commit into
mainfrom
fix/publish-npm-shellcheck

Conversation

@PierreJeanjacquot

Copy link
Copy Markdown
Member

Quote the command substitutions in the npm version check and in the dry-run version override.

Build the npm publish options as a bash array instead of unquoted string variables, and pass the tag and access inputs through env instead of interpolating them into the script.

Quote the command substitutions in the npm version check and in the
dry-run version override.

Build the npm publish options as a bash array instead of unquoted
string variables, and pass the tag and access inputs through env
instead of interpolating them into the script.
@PierreJeanjacquot
PierreJeanjacquot merged commit 929ad08 into main Sep 29, 2026
4 checks passed
@PierreJeanjacquot
PierreJeanjacquot deleted the fix/publish-npm-shellcheck branch September 29, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants