Skip to content

Commit d85e064

Browse files
authored
Merge pull request #75 from sgb-io/feat/release-8.0.0
8.0.0
2 parents 1501174 + 1e359e4 commit d85e064

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ Note: currently, only the project owner (sgb-io) has access to publish new versi
6868

6969
The instructions to publish a release are:
7070

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

7677
## Support
7778

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "codehawk-cli",
3-
"version": "7.1.5",
3+
"version": "8.0.0",
44
"description": "Static analysis tool for JavaScript projects",
55
"scripts": {
66
"build:watch": "tsc --watch",
77
"build": "tsc",
88
"isclean": "git diff --exit-code",
99
"lint:fix": "eslint --fix src/*.**",
1010
"lint": "eslint src/*.**",
11-
"tag:patch": "np patch --no-publish",
12-
"tag:minor": "np minor --no-publish",
13-
"tag:major": "np major --no-publish",
11+
"tag:patch": "np patch --no-publish --any-branch",
12+
"tag:minor": "np minor --no-publish --any-branch",
13+
"tag:major": "np major --no-publish --any-branch",
1414
"prettier:fix": "prettier --write src",
1515
"prettier": "prettier --check src",
1616
"reflect": "node build/index.js src",

0 commit comments

Comments
 (0)