Skip to content

Commit abb36fe

Browse files
committedJul 15, 2021
docs: remove incorrect prepublish instructions
1 parent be549fd commit abb36fe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎CONTRIBUTING.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,12 @@ Prefer squash + merge. If it makes sense to keep individual commits (e.g. differ
4848

4949
## Publishing official releases
5050

51-
When `next` is ready for release, run `npm run publish` and select version. After a successful release, remember to rebase `next` against `current`.
51+
When `next` is ready for release, run `npm run publish` in the `next` branch and select version. After a successful release, remember to rebase `next` against `current`.
5252

5353
## Publishing a hotfix release from `current`
5454

5555
If we need to publish a hotfix, a patch release should be done by running `npm run publish` from the project root, selecting "Patch" from the menu. Remember to rebase `next` against `current` after the release is completed.
5656

57-
## Publishing _prerelease_ versions from `next`
58-
59-
This is done by running `npm run publish` from the project root, selecting "Prerelease" from the menu and choosing a _Prerelease identifier_ (e.g. **alpha**, **beta** or **rc**). A prerelease can be tested in the studio by running e.g. `sanity upgrade --tag=beta --save-exact`
60-
6157
## Publishing _canary_ versions from feature branches
6258

6359
This can be done at any time by anyone and is done by `npm run publish-canary`. This will publish with the commit hash from HEAD, and can be installed with `sanity upgrade --tag=canary --save-exact`

2 commit comments

Comments
 (2)

vercel[bot] commented on Jul 15, 2021

@vercel[bot]

Successfully deployed to the following URLs:

test-studio – ./

test-studio.sanity.build
test-studio-git-next.sanity.build

vercel[bot] commented on Jul 15, 2021

@vercel[bot]

Successfully deployed to the following URLs:

perf-studio – ./

perf-studio.sanity.build
perf-studio-git-next.sanity.build

Please sign in to comment.