Skip to content

Commit

Permalink
commands: fix post publish script
Browse files Browse the repository at this point in the history
NPM postpublish script was failing due to wrong
command `npx run doc:deploy` instead of `npm run
doc:deploy`.
  • Loading branch information
maxime-beguin committed Nov 19, 2021
1 parent b66cae3 commit 718e36c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 5.0.1 / YYYY-MM-DD

## BUG FIXES

- Fix NPM postpublish script

# 5.0.0 / 2021-11-19

## BREAKING CHANGES
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"doc": "npx jsdoc -c jsdoc.json -d \"./site/$(echo $npm_package_version)\" -p -r",
"doc:deploy": "npx ovDeployGithubPages \"site/$(echo $npm_package_version)\"",
"lint": "npx eslint \"*.js\" \"lib/**/*.js\"",
"postpublish": "npm run doc && npx run doc:deploy"
"postpublish": "npm run doc && npm run doc:deploy"
},
"precommit": [
"lint"
Expand Down

0 comments on commit 718e36c

Please sign in to comment.