Skip to content

Commit

Permalink
chore(canary preview doc): document canary branch preview (#2924)
Browse files Browse the repository at this point in the history
* chore(canary preview doc): document canary branch preview

* chore(canary preview doc): fix grammatical error

---------

Co-authored-by: Ddouglasz <[email protected]>
  • Loading branch information
ddouglasz and Ddouglasz authored Sep 25, 2024
1 parent db45e62 commit 58fe325
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,11 @@ On `main` branch, we automatically publish **canary** releases from CI to the `c

Canary releases are useful to test early changes that should not be released yet to `next` or `latest`. They are automatically triggered and released after a Pull Request merged into `main`.

### Branch-specific canary releases

To release a canary version for a specific branch other than the `main` branch, follow these steps:

1. Create a PR with a branch name that starts with the prefix `preview/`  example: `preview/canary-branch`
2. To avoid creating versions every time we push, to trigger a canary version with your change, the commit message has to contain the trigger string `[publish_preview]` example: `git commit -m"chore(xxx): [publish_preview] test with a commit trigger"` .

Note that canary releases **will not create git tags and version bump commits**.

0 comments on commit 58fe325

Please sign in to comment.