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 12, 2024
1 parent 0d12b06 commit c82609e
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 @@ -30,7 +30,7 @@
"node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci --ignore-scripts",
"preversion": "bash -c '. ./resources/checkgit.sh && npm ci --ignore-scripts'",
"version": "node resources/gen-version.js && npm test && git add src/version.ts",
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.ts",
"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 c82609e

Please sign in to comment.