Skip to content

Commit

Permalink
Merge pull request #75 from sgb-io/feat/release-8.0.0
Browse files Browse the repository at this point in the history
8.0.0
  • Loading branch information
sgb-io authored Jan 6, 2021
2 parents 1501174 + 1e359e4 commit d85e064
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ Note: currently, only the project owner (sgb-io) has access to publish new versi

The instructions to publish a release are:

- Update the changelog (this is done manually) via a PR
- Run `yarn run tag:{patch|minor|major}`. This creates a git tag.
- Push up the result straight to master
- The GitHub action should publish to npm.
- Create a release branch
- Update the changelog (this is done manually)
- Run `yarn run tag:{patch|minor|major}`. This creates a git tag **and pushes it up**.
- Push up the branch and merge it, _without squashing_, as we want to keep the tag in the history of `master`
- The GitHub action should publish to npm

## Support

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "codehawk-cli",
"version": "7.1.5",
"version": "8.0.0",
"description": "Static analysis tool for JavaScript projects",
"scripts": {
"build:watch": "tsc --watch",
"build": "tsc",
"isclean": "git diff --exit-code",
"lint:fix": "eslint --fix src/*.**",
"lint": "eslint src/*.**",
"tag:patch": "np patch --no-publish",
"tag:minor": "np minor --no-publish",
"tag:major": "np major --no-publish",
"tag:patch": "np patch --no-publish --any-branch",
"tag:minor": "np minor --no-publish --any-branch",
"tag:major": "np major --no-publish --any-branch",
"prettier:fix": "prettier --write src",
"prettier": "prettier --check src",
"reflect": "node build/index.js src",
Expand Down

0 comments on commit d85e064

Please sign in to comment.