Skip to content

Commit 8260a1e

Browse files
authored
[cupertino_ui] Publish pre-release 0.0.2 (flutter#12251)
This PR attempts to enable the batch release process for cupertino_ui.
1 parent f555f10 commit 8260a1e

8 files changed

Lines changed: 36 additions & 2 deletions

File tree

‎.ci.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
enabled_branches:
99
- main
1010
- release-go_router-\d+\.\d+\.\d+
11+
- release-cupertino_ui-\d+\.\d+\.\d+
1112

1213
platform_properties:
1314
linux:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Creates Batch Release for cupertino_ui"
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Run every Monday at 8:00 AM. Update cron as needed.
7+
- cron: "0 8 * * 1"
8+
9+
jobs:
10+
dispatch_release_pr:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: Repository Dispatch
16+
uses: peter-evans/repository-dispatch@5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f
17+
with:
18+
event-type: batch-release-pr
19+
client-payload: '{"package": "cupertino_ui"}'

‎.github/workflows/release_from_branches.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- 'release-go_router-*'
6+
- 'release-cupertino_ui-*'
67
permissions:
78
# Release needs to push a tag back to the repo.
89
contents: write

‎.github/workflows/sync_release_pr.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
# As packages opt into batched releases, they need to be added here
77
- 'release-go_router-*'
8+
- 'release-cupertino_ui-*'
89

910
jobs:
1011
create_sync_pr:

‎packages/cupertino_ui/ci_config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TODO(stuartmorgan): Remove this; see https://github.com/flutter/flutter/issues/102679
22
exempt_from_excerpts: true
33
release:
4-
batch: false
4+
batch: true
55

66
# Temporarily ignore tests that have yet to have their cross imports fixed.
77
# See https://github.com/flutter/flutter/issues/177028.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
changelog: |
2+
- Copies over all Cupertino code from flutter/flutter.
3+
- Copies over Cupertino localizations from flutter/flutter's
4+
flutter_localizations package.
5+
- Migrates API doc samples and formatting.
6+
- Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
7+
version: patch
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Use this file as a template to draft an unreleased changelog file.
2+
# Make a copy of this file in the same directory, give it an appropriate name, and fill in the details.
3+
changelog: |
4+
- Can include a list of changes.
5+
- with markdown supported.
6+
version: <major|minor|patch|skip>

‎packages/cupertino_ui/pubspec.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: cupertino_ui
22
description: The official Flutter Cupertino Design Library, implementing the iOS design system.
33
version: 0.0.1
4-
publish_to: none
54
repository: https://github.com/flutter/packages/tree/main/packages/cupertino_ui
65
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A%20cupertino%22
76

0 commit comments

Comments
 (0)