Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ enabled_branches:
- main
- release-go_router-\d+\.\d+\.\d+
- release-cupertino_ui-\d+\.\d+\.\d+
- release-material_ui-\d+\.\d+\.\d+

platform_properties:
linux:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/material_ui_batch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Creates Batch Release for material_ui"

on:
workflow_dispatch:
schedule:
# Run every Monday at 8:00 AM. Update cron as needed.
- cron: "0 8 * * 1"

jobs:
dispatch_release_pr:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f
with:
event-type: batch-release-pr
client-payload: '{"package": "material_ui"}'

1 change: 1 addition & 0 deletions .github/workflows/release_from_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- 'release-go_router-*'
- 'release-cupertino_ui-*'
- 'release-material_ui-*'
permissions:
# Release needs to push a tag back to the repo.
contents: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
# As packages opt into batched releases, they need to be added here
- 'release-go_router-*'
- 'release-cupertino_ui-*'
- 'release-material_ui-*'

jobs:
create_sync_pr:
Expand Down
2 changes: 1 addition & 1 deletion packages/material_ui/ci_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TODO(stuartmorgan): Remove this; see https://github.com/flutter/flutter/issues/102679
exempt_from_excerpts: true
release:
batch: false
batch: true

# Temporarily ignore tests that have yet to have their cross imports fixed.
# See https://github.com/flutter/flutter/issues/177028.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
changelog: |
- Copies over all Material code from flutter/flutter.
- Copies over Material localizations from flutter/flutter's
flutter_localizations package.
- Unpins material_color_utilities.
- Migrates API doc samples and formatting.
- Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
version: minor
6 changes: 6 additions & 0 deletions packages/material_ui/pending_changelogs/template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Use this file as a template to draft an unreleased changelog file.
# Make a copy of this file in the same directory, give it an appropriate name, and fill in the details.
changelog: |
- Can include a list of changes.
- with markdown supported.
version: <major|minor|patch|skip>
5 changes: 1 addition & 4 deletions packages/material_ui/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: material_ui
description: The official Flutter Material UI Library, implementing Google's Material Design design system.
version: 0.0.1
publish_to: none
repository: https://github.com/flutter/packages/tree/main/packages/material_ui
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A%20material%20design%22

Expand All @@ -14,9 +13,7 @@ workspace:

dependencies:
collection: ^1.19.1
cupertino_ui:
# TODO(justinmc): Use the pub.dev package when published.
path: ../cupertino_ui
cupertino_ui: ^0.0.2
flutter:
sdk: flutter
flutter_localizations:
Expand Down
Loading