diff --git a/CHANGELOG.md b/CHANGELOG.md index 25cd590e..decfb31d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,7 @@ Here's is a combined todo/done list. You can see what todos are planned for the upcoming release. -## master - -Released: TBA. - -[Diff](https://github.com/transloadit/node-sdk/compare/v2.0.10...master). - -- [ ] +See [GitHub releases](https://github.com/transloadit/node-sdk/releases) for change log from this point on ## v2.0.10 diff --git a/README.md b/README.md index b562b9c5..72301f4f 100644 --- a/README.md +++ b/README.md @@ -390,16 +390,17 @@ We'd be happy to accept pull requests. If you plan on working on something big, ### Testing -Check your sources for linting errors via `npm run lint`, and unit tests, and run them via `npm run test` +Check your sources for linting errors via `npm run lint`, and unit tests, and run them via `npm test` ### Releasing -Releasing a new version to npmjs.org can be done via `npm run release:major` (or minor / patch, depending on the [semantic versioning](http://semver.org/) impact of your changes). This will automatically: +1. Install [np](https://github.com/sindresorhus/np): `npm i -g np` +2. Wait for [tests to succeed](https://github.com/transloadit/node-sdk/actions). +3. Run `np` and follow instructions. +4. When successful add [release notes](https://github.com/transloadit/node-sdk/releases). - - Bump the version inside the `package.json` - - Save a release commit with the updated version in Git - - Push a tag to Github - - Publish to npmjs.org +### Change log +See [Releases](https://github.com/transloadit/node-sdk/releases) ### Convenience diff --git a/package.json b/package.json index 81712148..8a22f2d2 100644 --- a/package.json +++ b/package.json @@ -53,11 +53,7 @@ "fix": "eslint . --fix", "lint": "eslint .", "next:update": "next-update --keep true --tldr", - "release:major": "env SEMANTIC=major npm run release", - "release:minor": "env SEMANTIC=minor npm run release", - "release:patch": "env SEMANTIC=patch npm run release", "upgrade:modules": "npm-check-updates -u --semverLevel major && yarn && npm run test", - "release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push && git push --tags && npm publish", "test-unit": "jest --coverage ./test/unit", "test-integration": "jest ./test/integration", "tsd": "tsd",