Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 05524eb

Browse files
authored
docs: update to target-branch option for non-default branch (#895)
This PR updates the docs to switch usages to `target-branch` as this has changed in v4.
1 parent 6effe5c commit 05524eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ The most important prefixes you should have in mind are:
232232
### Supporting multiple release branches
233233

234234
`release-please` has the ability to target not default branches. You can even use separate release strategies (`release-type`).
235-
To configure, simply configure multiple workflows that specify a different `default-branch`:
235+
To configure, simply configure multiple workflows that specify a different `target-branch`:
236236

237237
Configuration for `main` (default) branch (`.github/workflows/release-main.yaml`):
238238

@@ -252,7 +252,7 @@ jobs:
252252
release-type: node
253253
# The short ref name of the branch or tag that triggered
254254
# the workflow run. For example, `main` or `1.x`
255-
default-branch: ${{ github.ref_name }}
255+
target-branch: ${{ github.ref_name }}
256256
```
257257
258258
## Automating publication to npm

0 commit comments

Comments
 (0)