1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/navigation_and_routing/codelab_rebuild.yaml
Brett Morgan e5ec08fccd Update Samples for 3.16 (#2085)
*Replace this paragraph with a description of what this PR is changing
or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*

## Pre-launch Checklist

- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-11-16 08:55:44 +10:00

44 lines
1.5 KiB
YAML

# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
name: Navigation and Routing rebuild script
steps:
- name: Remove runners
rmdirs:
- android
- ios
- linux
- macos
- web
- windows
- name: Flutter recreate
flutter: create --org dev.flutter .
- name: Patch web/index.html
path: web/index.html
patch-u: |
--- b/navigation_and_routing/web/index.html
+++ a/navigation_and_routing/web/index.html
@@ -18,7 +18,7 @@
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
- <meta name="description" content="A new Flutter project.">
+ <meta name="description" content="Navigation and routing sample app">
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
- name: Patch web/manifest.json
path: web/manifest.json
patch-u: |
--- b/navigation_and_routing/web/manifest.json
+++ a/navigation_and_routing/web/manifest.json
@@ -5,7 +5,7 @@
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
- "description": "A new Flutter project.",
+ "description": "Navigation and routing sample app",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
- name: Update dependencies
flutter: pub upgrade --major-versions