Skip to content

Commit 031cf3f

Browse files
committed
Update release steps
1 parent 6d722ef commit 031cf3f

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ 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-
- 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`
71+
- Use macOS, as `np` runs into output + auth problems on windows
72+
- Update the changelog and get that merged in (do not bump any versions)
73+
- On an up-to-date master, run Run `yarn run tag:{patch|minor|major}`. This creates a git tag **and pushes it up**.
7574
- The GitHub action should publish to npm
7675

7776
## Support

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"isclean": "git diff --exit-code",
99
"lint:fix": "eslint --fix src/*.**",
1010
"lint": "eslint src/*.**",
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",
11+
"tag:patch": "np patch --no-publish",
12+
"tag:minor": "np minor --no-publish",
13+
"tag:major": "np major --no-publish",
1414
"prettier:fix": "prettier --write src",
1515
"prettier": "prettier --check src",
1616
"reflect": "node build/index.js src",

0 commit comments

Comments
 (0)