Skip to content

Commit a4798c9

Browse files
jbrejnerclaude[bot]
andcommitted
Update scripts/npm-publish.sh
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent 92bc42b commit a4798c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/npm-publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
# When called from goreleaser, $2 is "true" if snapshot build
1111
DRY_RUN=false
12-
# Second argument: "true" or "--dry-run" to skip publishing
12+
if [ "$2" = "true" ] || [ "$2" = "--dry-run" ]; then
1313
echo "Running in DRY-RUN mode. Packages will be created but not published."
1414
DRY_RUN=true
1515
fi

0 commit comments

Comments
 (0)