Skip to content

Commit

Permalink
Update contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Jul 11, 2024
1 parent 4ccb308 commit db168bc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

This package uses a custom publish flow.

**IMPORTANT**: Do not push directly to `main` - every change must go through a PR
otherwise changelog generation will fail.

```sh
npm install
npm version patch # or minor or major
git push && git push --tags
git push --follow-tags
npm run build
cd npmDist
npm publish --tag=next
Expand All @@ -18,3 +21,9 @@ All good? Publish:
```sh
npm dist-tags add graphql-relay@VERSION_NUMBER latest
```

Finally generate the CHANGELOG:

```sh
node resources/gen-changelog.js
```

0 comments on commit db168bc

Please sign in to comment.