Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
package: fix preversion script
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Nov 19, 2018
1 parent 68735c0 commit 50d7b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"optionalDependencies": {},
"main": "./lib",
"scripts": {
"preversion": "rm -rf lib/*.js && npm test && grep '## Trunk' CHANGELOG.md",
"preversion": "npm test && grep '## Trunk' CHANGELOG.md",
"version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md",
"postversion": "git push && git push --tags && npm publish",
"patch": "npm version patch -m 'Bump to version %s'",
Expand Down

0 comments on commit 50d7b70

Please sign in to comment.