Flutter Decoded.
esc

Type to search lessons, steps and concepts.

↑ ↓ move · ↵ open · esc close
Support
Language
Made with ♥ by Aman Singh · Support the projectNot affiliated with Google. Flutter and Dart are trademarks of Google LLC. Videos belong to their creators.
Course46 lessons
›01. Dart Foundations0/4
  1. Variables, Types & Null Safety
  2. Functions & Classes
  3. Futures, async/await & Streams
  4. Records, Patterns & Sealed Classes
›02. Flutter Fundamentals0/4
  1. Everything Is a Widget
  2. Stateless vs Stateful Widgets
  3. Widgets, Elements & RenderObjects
  4. Project Structure & Hot Reload
›03. Layout & UI0/6
  1. Constraints Go Down, Sizes Go Up
  2. Rows, Columns & Flex
  3. Stack, Positioned & Layering
  4. Lists, Grids & Slivers
  5. Responsive & Adaptive Design
  6. Theming with Material 3
›04. Interaction & Navigation0/4
  1. Taps, Gestures & Input
  2. Forms & Validation
  3. Navigator & Routes
  4. go_router & Deep Links
›05. State Management0/5
  1. Ephemeral vs App State
  2. InheritedWidget & Provider
  3. Riverpod
  4. The BLoC Pattern
  5. Choosing an Approach
›06. Data & Backend0/6
  1. HTTP & JSON
  2. Dio: Interceptors & Retries
  3. Saving Data Locally
  4. Firebase: Auth & Firestore
  5. Backend Options: Supabase, Appwrite & More
  6. Isolates & Heavy Work
›07. App Architecture0/3
  1. UI Layer & Data Layer
  2. Repositories & Dependency Injection
  3. Clean Architecture & Folder Structure
›08. Motion & Performance0/4
  1. Implicit Animations
  2. Explicit Animations
  3. Custom Painting
  4. Performance & DevTools
›09. Testing & Shipping0/4
  1. Unit, Widget & Integration Tests
  2. Environments & Flavors
  3. CI/CD & Releasing
  4. Flutter on the Web & Desktop
›10. Release Automation & Code Push0/6
  1. Codemagic: Your First Pipeline
  2. Codemagic: Code Signing
  3. Codemagic: Publish to the Stores
  4. Shorebird: Code Push for Flutter
  5. Shorebird: Safe Patching
  6. Shorebird in Codemagic
Progress0 / 46
Browse all videos →
10. Release Automation & Code Push / Lesson 3 / 6

Codemagic: Publish to the Stores

Tag a release and let Codemagic upload to Google Play tracks and TestFlight, then notify the team.

7 minAdvanced5 steps
codemagic.yaml
1workflows:
2 release:
3 triggering:
4 events:
5 - tag # git tag v1.4.0 && git push --tags
6 tag_patterns:
7 - pattern: 'v*'
8 environment:
9 groups:
10 - google_play # GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS
11 vars:
12 GOOGLE_PLAY_TRACK: internal
13 scripts:
14 - name: Build AAB with the next build number
15 script: |
16 BUILD_NUMBER=$(($(google-play get-latest-build-number \
17 --package-name "$PACKAGE_NAME" --tracks="$GOOGLE_PLAY_TRACK") + 1))
18 flutter build appbundle --release --build-number=$BUILD_NUMBER
19 publishing:
20 google_play:
21 credentials: $GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS
22 track: $GOOGLE_PLAY_TRACK
23 submit_as_draft: true
24 app_store_connect:
25 auth: integration
26 submit_to_testflight: true
27 beta_groups:
28 - QA team
29 submit_to_app_store: false
30 slack:
31 channel: '#releases'
32 notify_on_build_start: false
Live simulatorCodemagic build
◆release#127Ready
tagv1.4.0
  1. Press Start build
$ waiting for logs…
Step 1 / 5

Release on a tag

Keep the everyday CI workflow on pushes, and add a separate release workflow that only runs on tag events matching v*. Shipping becomes git tag v1.4.0 && git push --tags.

You'll learn

  • Tag-triggered release workflows
  • Publishing to Google Play tracks
  • TestFlight and App Store submission
  • Team notifications

Read the official docs

Publishing to Google Play ↗Publishing to App Store Connect ↗
1 / 5
← → step · Space pause · R replay