diff --git a/package.json b/package.json index c3d7c36..f50fb8d 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "test": "mocha", "format": "prettier-standard '*.js*' 'sentences/*.js'", - "changelog": "github-changes -o signalk -r signalk-to-nmea0183 -a --only-pulls --use-commit-body --data=pulls --tag-name=v$npm_package_version", - "release": "git tag -d v$npm_package_version ; npm run changelog && git add CHANGELOG.md && git commit -m 'chore: update changelog' && git tag v$npm_package_version && git push --tags && git push" + "create-release": "github-create-release --owner signalk --repository signalk-to-nmea0183", + "release": "git tag -d v$npm_package_version && git tag v$npm_package_version && git push --tags && git push && npm run create-release" }, "keywords": [ "signalk-node-server-plugin" @@ -18,6 +18,7 @@ "baconjs": "^0.7.88" }, "devDependencies": { + "@signalk/github-create-release": "^1.2.0", "github-changes": "^1.0.4", "mocha": "^6.2.2", "prettier-standard": "^6.0.0"