diff --git a/docs/ecosystem/release/README.md b/docs/ecosystem/release/README.md index 7cac7310ef2ca..08870bcbd1a3a 100644 --- a/docs/ecosystem/release/README.md +++ b/docs/ecosystem/release/README.md @@ -36,8 +36,7 @@ High-traffic packages can enable "Batch release" to group multiple commits into To enable batch release for a package: -1. **Request a branch:** Ask a repo admin to create a protected `release-` branch. -2. **Submit a PR:** Create a PR with the following changes: +1. **Submit a PR:** Create a PR with the following changes: * Add `ci_config.yaml` to the package root: ```yaml release: @@ -79,16 +78,16 @@ To enable batch release for a package: on: push: branches: - - 'release-' + - 'release--*' ``` * Add a trigger to [sync_release_pr.yml](https://github.com/flutter/packages/blob/main/.github/workflows/sync_release_pr.yml): ```yaml on: push: branches: - - 'release-' + - 'release--*' ``` -3. **Merge:** Merge the PR to finalize setup. +2. **Merge:** Merge the PR to finalize setup. ### Workflow @@ -96,7 +95,7 @@ Once enabled, contributors **should not** modify `CHANGELOG.md` or `pubspec.yaml The release process runs automatically: -1. The cron job in `_batch.yml` triggers a new release PR targeting the `release-` branch. +1. The cron job in `_batch.yml` triggers a new release PR targeting the `release--` branch. 2. The PR aggregates all files in `pending_changes` to update `CHANGELOG.md` and `pubspec.yaml`. 3. A package owner reviews and merges the PR. 4. Merging triggers [release_from_branches.yml](https://github.com/flutter/packages/blob/main/.github/workflows/release_from_branches.yml), which publishes the package to pub.dev.