Skip to content

Commit

Permalink
chore(docs): remove internal 'how to publish' from CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Feb 14, 2024
1 parent 4c6ade2 commit 3e95893
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,13 @@ yarn dev
- Rebase your feature branch regularly against `next`. Make sure its even with `next` before merging
- Once it's done, open a pull request targeting `next`
- After at least two reviewers has approved the pull request, you can merge it into `next` when you feel ready (if you're on the Sanity team, obviously)
- Everything except minor _trivial_ changes should go through pull-requests. If you're unsure whether it's a trivial change or not, submit a pull request just to be sure
- Pull requests should be as ready as possible for merge. Unless stated otherwise, it should be safe to assume that:

- The changes/feature are reviewed and tested by you
- You think it's production ready
- The code is linted and the test suite is passing

- It's fine to open a pull request to start a discussion / ask for help, but it should be stated clearly that it's not yet ready for merge.
- When the `next`-branch is thoroughly tested and ready to be released (either as a minor or major version bump), it should be merged into `current` and bumped.
- Critical fixes go straight into `current` (preferably through a pull request)

## Merging

Expand All @@ -47,14 +44,6 @@ Prefer squash + merge. If it makes sense to keep individual commits (e.g. differ
- `current`: This contains all the features and fixes included in the latest official release.
- `next`: This includes everything scheduled for the next, upcoming release.

## Publishing official releases

When `next` is ready for release, merge `next` into `current`, then run `yarn release` in the `current` branch and select version. After a successful release, remember to merge the new version number commits that were performed as part of the release into `next`.

## Publishing _canary_ versions from feature branches

This can be done at any time by anyone and is done by `yarn release-canary`. This will publish with the commit hash from HEAD.

# How to file an issue

If you find a security vulnerability, do **NOT** open an issue. Email [email protected] instead.
Expand Down

0 comments on commit 3e95893

Please sign in to comment.