Skip to content

Commit

Permalink
Fix publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 21, 2024
1 parent 48d5cbe commit cf395fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"node": ">= 10.x"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci",
"preversion": "bash -c '. ./resources/checkgit.sh && npm ci'",
"version": "node resources/gen-version.js && npm test && git add src/version.js",
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.js",
"changelog": "node resources/gen-changelog.js",
Expand Down
1 change: 1 addition & 0 deletions resources/checkgit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Exit immediately if any subcommand terminated
set -e
trap "exit 1" ERR

#
Expand Down

0 comments on commit cf395fb

Please sign in to comment.