Skip to content

Commit 047aff3

Browse files
committed
Update contributing
1 parent e0c1a86 commit 047aff3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
This package uses a custom publish flow.
44

5+
**IMPORTANT**: Do not push directly to `main` - every change must go through a PR
6+
otherwise changelog generation will fail.
7+
58
```sh
69
npm install
710
npm version patch # or minor or major
8-
git push && git push --tags
11+
git push --follow-tags
912
npm run build
1013
cd npmDist
1114
npm publish --tag=next
@@ -18,3 +21,9 @@ All good? Publish:
1821
```sh
1922
npm dist-tags add graphql-relay@VERSION_NUMBER latest
2023
```
24+
25+
Finally generate the CHANGELOG:
26+
27+
```sh
28+
node resources/gen-changelog.js
29+
```

0 commit comments

Comments
 (0)