This documents how to release a new version of the thoughtbot ESLint Config. It’s for thoughtbot employees.
-
Make sure you’re on the
masterbranch with a clean working directory. -
Update the changelog, following the guidelines from keep a changelog
-
Run
npm version [major | minor | patch] --forceThis script will…
- Add the changes to
CHANGELOG.mdto the Git index - Bump the version in
package.jsonandpackage-lock.json - Create a version Git commit and tag
- Add the changes to
-
Run
npm publishThis script will push to GitHub and publish the new version to the npm registry
-
Draft a new GitHub release, copying the release’s changelog entry into the release notes