Skip to content

Commit

Permalink
Fix publish scripts (#4104)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jun 21, 2024
1 parent 2744f58 commit 0ab77eb
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 @@ -29,7 +29,7 @@
"node": "^16.19.0 || ^18.14.0 || >=19.7.0"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci --ignore-scripts",
"preversion": "bash -c '. ./resources/checkgit.sh && npm ci --ignore-scripts'",
"version": "node --loader ts-node/esm resources/gen-version.ts && npm test && git add src/version.ts",
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.ts",
"changelog": "node --loader ts-node/esm resources/gen-changelog.ts",
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 0ab77eb

Please sign in to comment.