Skip to content

Commit

Permalink
fix: update postpublish script
Browse files Browse the repository at this point in the history
since I'm now using:

```
npm version patch -m "bump version to %s"
npm version minor -m "bump version to %s"
npm version major -m "bump version to %s"
```
  • Loading branch information
ptweety committed Oct 12, 2022
1 parent 6e145a6 commit 1cf7ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"checkgit": "([[ $(git rev-parse --abbrev-ref HEAD) == \"main\" ]] && git diff --exit-code && git diff --cached --exit-code && git diff --exit-code origin/main..main)",
"lintfix": "xo --fix",
"lintonly": "xo",
"postpublish": "git tag v$(jq -r '.version' package.json) && git push --no-verify --tags",
"postpublish": "git push origin --all && git push origin --no-verify --tags",
"prepublishOnly": "npm run checkgit --silent",
"test": "xo && nyc mocha \"test/**/*_spec.js\" --exit",
"testcov": "nyc mocha \"test/**/*_spec.js\" --exit",
Expand Down

0 comments on commit 1cf7ab9

Please sign in to comment.