Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
docs: update to target-branch option for non-default branch (#895)
Browse files Browse the repository at this point in the history
This PR updates the docs to switch usages to `target-branch` as this has
changed in v4.
  • Loading branch information
wheinze committed Dec 4, 2023
1 parent 6effe5c commit 05524eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ The most important prefixes you should have in mind are:
### Supporting multiple release branches

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

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

Expand All @@ -252,7 +252,7 @@ jobs:
release-type: node
# The short ref name of the branch or tag that triggered
# the workflow run. For example, `main` or `1.x`
default-branch: ${{ github.ref_name }}
target-branch: ${{ github.ref_name }}
```

## Automating publication to npm
Expand Down

0 comments on commit 05524eb

Please sign in to comment.