diff --git a/fern/products/sdks/reference/generators-yml-reference.mdx b/fern/products/sdks/reference/generators-yml-reference.mdx index fc9bf78ad..d6e06d618 100644 --- a/fern/products/sdks/reference/generators-yml-reference.mdx +++ b/fern/products/sdks/reference/generators-yml-reference.mdx @@ -851,7 +851,7 @@ Name of your repository in GitHub. -Name of your branch in GitHub. +If specified, Fern commits and tags the release on this branch instead of the default branch. The branch must already exist. Use this to publish versioned SDKs (e.g., `v1` and `v2`) from a single repo. diff --git a/fern/products/sdks/snippets/github-publishing-mode.mdx b/fern/products/sdks/snippets/github-publishing-mode.mdx index 1ec75f87b..0951f9465 100644 --- a/fern/products/sdks/snippets/github-publishing-mode.mdx +++ b/fern/products/sdks/snippets/github-publishing-mode.mdx @@ -1,7 +1,7 @@ Optionally set the mode to control how Fern handles SDK publishing: -- `mode: release` (default): Fern generates code, commits to main, and tags a release automatically +- `mode: release` (default): Fern generates code, commits to the default branch (or the `branch` you specify), and tags a release automatically - `mode: pull-request` (recommended): Fern generates code and creates a PR for you to review before release - `mode: push`: Fern generates code and pushes to a branch you specify for you to review before release