<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr" -->

---
title: Automate Flutter Releases with Shorebird + GitHub...
description: A step-by-step guide walks through automating Flutter app releases and over-the-air code patches using Shorebird combined with GitHub Actions. It covers...
canonical: https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Automate Flutter Releases with Shorebird + GitHub Actions (Skip App Store Review) | daily.dev
og:description: A step-by-step guide walks through automating Flutter app releases and over-the-air code patches using Shorebird combined with GitHub Actions. It covers...
og:url: https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr
og:image: https://api.daily.dev/og/posts/XwaTWLTHr.png
og:image:alt: Automate Flutter Releases with Shorebird + GitHub Actions (Skip App Store Review)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Automate Flutter Releases with Shorebird + GitHub Actions (Skip App Store Review)

**[Samuel Adekunle](https://daily.dev/sources/on_leuwcq)** · [@techwithsam](https://daily.dev/techwithsam) · 8 min read · 1 upvotes · 0 comments

## Summary

A step-by-step guide walks through automating Flutter app releases and over-the-air code patches using Shorebird combined with GitHub Actions. It covers setting up Shorebird API authentication as a GitHub secret, configuring Android keystore and iOS certificate secrets, building separate release and patch YAML workflows using the official shorebirdtech GitHub Actions, and a recommended branching workflow (feature branches, tags for releases, hotfix tags for patches). The patch workflow lets teams push fixes to users in minutes without waiting on App Store or Play Store review, using staging preview before promoting to production.

## Content

A real pain point for mobile apps is waiting days or weeks for App Store and Play Store reviews whenever you need to ship a fix or a small update to users.

![Elon Musk complaining about iOS App Review delay on X](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/d62at6dottfazzfxord0.png)

That exact problem is what we are solving in this article. I’ll show you exactly how to automate your Flutter releases and patches using Shorebird and GitHub Actions, so you can push updates to users in minutes instead of waiting for store review.

We are going to create a clean, production-ready CI pipeline for both full releases and instant code-push updates.

## Prerequisites
Before we start, here’s what you need:

- A [Shorebird account](https://console.shorebird.dev/) and an app already set up with Shorebird
- Shorebird CLI installed and logged in on your machine
- A Flutter project that already has Shorebird initialized
- A GitHub repository
- Basic understanding of GitHub Actions

If you haven’t set up Shorebird in your Flutter app yet, check out [my video on YouTube on how to set up Shorebird](https://youtu.be/x7j3WnxfCc0). This article assumes that’s already done.

## Authentication Setup
The first thing we need is authentication so GitHub Actions can talk to Shorebird.

Go to the [Shorebird Console](https://console.shorebird.dev/account) → Account → API Keys → Create API Key.

![Shorebird API Key Interface](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/rq3tyq6hc6iytinybj1k.png)

Give it a clear name, e.g “GitHub Actions”, choose an expiration, and set the required permissions.

Copy the key immediately because you won’t see it again.

Now go to your GitHub repository → Settings → Secrets and variables → Actions → New repository secret.

Name it exactly: `SHOREBIRD_TOKEN`

Paste the key and save.

![GitHub Repository Secret Interface](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/rwfne4fhj45jvz1xugl9.png)

This token will be available in all your workflows as `${{ secrets.SHOREBIRD_TOKEN }}`.

That’s the only authentication step you need.

## Official Shorebird GitHub Actions

Shorebird provides three official GitHub Actions that make life much easier:
1. shorebirdtech/setup-shorebird@v1 — installs Shorebird on the runner
2. shorebirdtech/shorebird-release@v1 — creates a release
3. shorebirdtech/shorebird-patch@v1 — creates a patch

I strongly recommend using these instead of calling the CLI manually. They’re cleaner and maintained by the Shorebird team.

## Release Workflow

Let’s build the release workflow first.

Create a new file in your project: `.github/workflows/shorebird-release.yml`

Here’s the structure:

- Trigger on version tags: v1.0.0, v1.2.3, etc. or manually trigger the workflow
- Set the SHOREBIRD_TOKEN as an environment variable
- Pin your Flutter version (very important)
- Checkout the code
- Set up Java for Android (or Xcode signing for iOS)
- Set up Shorebird with caching
- Decode your keystore/certificates from secrets
- Run the official shorebird-release action
- Upload the APK, AAB, or IPA as artifacts

I’ll show both Android and iOS versions.

For Android, the key steps are decoding the keystore and creating the key.properties file from secrets.

**GitHub Secrets You Need to Add for Android**

Go to **GitHub → repo → Settings → Secrets and variables → Actions → New repository secret**

```bash
Secret name - Value
ANDROID_KEY_ALIAS - your_key_alias
ANDROID_KEY_PASSWORD - your_key_password
ANDROID_STORE_PASSWORD - your_store_password
ANDROID_KEYSTORE_BASE64 - run `base64 -i ~/path/to/upload.jks | tr -d '\n' | pbcopy`
The keystore base64 will be copied to your clipboard; paste it into GitHub Secrets
```

**GitHub Secrets You Need to Add for iOS**

Go to **GitHub → repo → Settings → Secrets and variables → Actions → New repository secret**

```bash
Secret name - Value
IOS_CERTIFICATE_BASE64 - base64 of your .p12
IOS_CERTIFICATE_PASSWORD - Password you set when exporting the .p12
IOS_PROVISIONING_PROFILE_BASE64 - base64 of com.example.app profile
```

For iOS, you need to import the certificate and provisioning profile into a temporary keychain.

```bash
# IOS_CERTIFICATE_BASE64 - export your .p12 from Keychain Access first, then:
base64 -i ~/path/to/distribution.p12 | tr -d '\n' | pbcopy

# IOS_PROVISIONING_PROFILE_BASE64 - download from Apple Developer Portal
base64 -i ~/path/to/YourApp_AppStore.mobileprovision | tr -d '\n' | pbcopy
```

You can check out this document on how to create an [Apple Distribution Certificate](https://gist.github.com/techwithsam/e3ff26a6e12cde347e90158572e216c9#file-tutorial-md).

![Repository secret](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/7bgic7irtscs94jxntia.png)

Once this workflow finishes, you get signed artifacts ready to upload to the stores.

This is your normal full release path.

```yaml
name: Shorebird Release

on:
  workflow_dispatch:
    inputs:
      platform:
        description: 'Target platform'
        required: true
        default: 'both'
        type: choice
        options:
          - android
          - ios
          - both

jobs:
  release_android:
    name: Release Android
    if: ${{ github.event.inputs.platform == 'android' || github.event.inputs.platform == 'both' }}
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Setup Java
        uses: actions/setup-java@v4
        with:
          distribution: 'temurin'
          java-version: '17'

      - name: Setup Android Keystore
        run: |
          echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks
          cat > android/key.properties <<EOF
          storePassword=${{ secrets.ANDROID_STORE_PASSWORD }}
          keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}
          keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}
          storeFile=keystore.jks
          EOF
        shell: bash

      - name: Setup Shorebird
        uses: shorebirdtech/setup-shorebird@v1

      - name: Shorebird Release (Android)
        uses: shorebirdtech/shorebird-release@v1
        id: shorebird-release
        with:
          flutter-version: latest
          platform: android
        env:
          SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}

      - name: Print Release Version
        run: echo "Released version ${{ steps.shorebird-release.outputs.release-version }}"
        shell: bash
```

Full release on [GitHub Gist](https://gist.github.com/techwithsam/e3ff26a6e12cde347e90158572e216c9#file-shorebird-release-yml).

## Patch Workflow — The Real Power

Now, the part that actually lets you skip App Store review.

Create another file: `.github/workflows/shorebird-patch.yml`

```yaml
name: Shorebird Patch

on:
  push:
    branches:
      - main
  workflow_dispatch:
    inputs:
      platform:
        description: 'Target platform'
        required: true
        default: 'both'
        type: choice
        options:
          - android
          - ios
          - both
      release-version:
        description: 'Release version to patch (e.g. 1.0.0+1). Defaults to latest.'
        required: false
        default: 'latest'

jobs:
  patch_android:
    name: Patch Android
    if: ${{ github.event_name == 'push' || github.event.inputs.platform == 'android' || github.event.inputs.platform == 'both' }}
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Setup Java
        uses: actions/setup-java@v4
        with:
          distribution: 'temurin'
          java-version: '17'

      - name: Setup Android Keystore
        run: |
          echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks
          cat > android/key.properties <<EOF
          storePassword=${{ secrets.ANDROID_STORE_PASSWORD }}
          keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}
          keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}
          storeFile=keystore.jks
          EOF
        shell: bash

      - name: Setup Shorebird
        uses: shorebirdtech/setup-shorebird@v1

      - name: Shorebird Patch (Android)
        uses: shorebirdtech/shorebird-patch@v1
        id: shorebird-patch
        with:
          platform: android
          release-version: ${{ github.event.inputs.release-version || 'latest' }}
          args: --allow-asset-diffs --allow-native-diffs
        env:
          SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}

      - name: Print Patch Number
        run: echo "Patch number ${{ steps.shorebird-patch.outputs.patch-number }}"
        shell: bash
```

Full release on [GitHub Gist](https://gist.github.com/techwithsam/e3ff26a6e12cde347e90158572e216c9#file-shorebird-patch-yml).

Trigger this one on hotfix tags, for example: v1.0.0-hotfix.1

The structure is almost identical to the release workflow, but we use the shorebird-patch action instead.

Important points:

- A patch can only be applied to an existing release
- Use the — staging flag first so you can preview the update
- After testing with shorebird preview — track=staging, promote it to production from the Shorebird Console.

This is the real magic. Users get the fix over-the-air (OTA) in minutes. No waiting for review. No forcing them to download a new version from the store.

## Recommended Development Workflow
Here’s the clean workflow I recommend (and the one Shorebird documents):

1. Work on features and fixes on feature branches
2. Open a pull request into main
3. CI runs formatting, analysis, and tests
4. Squash and merge into main (main stays always releasable)
5. When you’re ready for a full release → create a tag like v1.2.0 → the release workflow runs automatically
6. If a critical bug appears → fix it on main → cherry-pick into the release branch → create a hotfix tag like v1.2.0-hotfix.1 → the patch workflow runs
7. Preview on staging → promote to production

This keeps everything automated, clean, and low-risk.

## Best Practices
A few important tips:

- Always pin the Flutter version on releases using — flutter-version
- Use — dry-run on pull requests so you catch build issues early without creating real releases or patches
- Keep your SHOREBIRD_TOKEN secure — never hardcode it
- For iOS environments without certificates, you can use — no-codesign (then sign later)
- Shorebird automatically runs in non-interactive mode in CI when the token is present

Follow these, and your pipeline will be solid.

## Resources

All of this is based on the official Shorebird documentation:

- [GitHub Integration guide](https://docs.shorebird.dev/code-push/ci/github/)
- [Generic CI guide](https://docs.shorebird.dev/code-push/ci/generic/)
- [Development Workflow guide](https://docs.shorebird.dev/code-push/guides/development-workflow/)

I’m also a [Shorebird Ambassador](https://shorebird.dev/blog/meet-our-first-shorebird-community-ambassadors#:~:text=Samuel%20Adekunle%20(Nigeria)), so if you have questions, drop them in the comments.

---

That’s it.

You now have a complete automated system:

- Full releases go through the stores as usual
- Critical updates and bug fixes go live to users in minutes via Shorebird

No more waiting for review every single time.

If this was useful, hit the like button, subscribe, and turn on notifications so you don’t miss the next post.

If you want personalized help setting this up for your project, you can send a DM.

I’ll see you in the next one. Peace.

## Similar posts on daily.dev

- [Automating Flutter Android Deployments: CI/CD, Play Store & Shorebird OTA](https://daily.dev/posts/automating-flutter-android-deployments-ci-cd-play-store-shorebird-ota-tidg0wtgb) · Medium · 0 upvotes · 0 comments
- [How to Automate Flutter Releases with Fastlane and GitHub Actions for Firebase App Distribution, Google Play, TestFlight, and App Store Connect](https://daily.dev/posts/how-to-automate-flutter-releases-with-fastlane-and-github-actions-for-firebase-app-distribution-goo-cy1jtlc29) · freeCodeCamp · 0 upvotes · 0 comments
- [How to Build a Production-Ready Flutter CI/CD Pipeline with GitHub Actions: Quality Gates, Environments, and Store Deployment](https://daily.dev/posts/how-to-build-a-production-ready-flutter-ci-cd-pipeline-with-github-actions-quality-gates-environme-rpmoo0tv7) · freeCodeCamp · 1 upvotes · 0 comments
- [Publishing React Native OTA Updates from CI: Ship Fast Without Skipping QA](https://daily.dev/posts/publishing-react-native-ota-updates-from-ci-ship-fast-without-skipping-qa-h4mgvyjcf) · codemagic · 0 upvotes · 0 comments

---

Tags: [#mobile](https://daily.dev/tags/mobile), [#cicd](https://daily.dev/tags/cicd), [#flutter](https://daily.dev/tags/flutter), [#github-actions](https://daily.dev/tags/github-actions)

[View this post on daily.dev](https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr","headline":"Automate Flutter Releases with Shorebird + GitHub Actions (Skip App Store Review)","text":"A step-by-step guide walks through automating Flutter app releases and over-the-air code patches using Shorebird combined with GitHub Actions. It covers setting up Shorebird API authentication as a GitHub secret, configuring Android keystore and iOS certificate secrets, building separate release and patch YAML workflows using the official shorebirdtech GitHub Actions, and a recommended branching workflow (feature branches, tags for releases, hotfix tags for patches). The patch workflow lets teams push fixes to users in minutes without waiting on App Store or Play Store review, using staging preview before promoting to production.","url":"https://daily.dev/posts/automate-flutter-releases-with-shorebird-github-actions-skip-app-store-review--xwatwlthr","datePublished":"2026-09-10T22:03:14.478Z","dateModified":"2026-09-13T21:33:13.874Z","author":{"@type":"Person","name":"Samuel Adekunle","url":"https://daily.dev/techwithsam","image":"https://avatars2.githubusercontent.com/u/42917957?v=4","description":"Building myvista.app | Software Engineer | Building Scalable Solution | Tech Educator \u0026 Speaker","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":740}},"image":"https://media.daily.dev/image/upload/s--F2oXPJju--/f_auto/v1789077795/posts/XwaTWLTHr?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/on_leuwcq","name":"Samuel Adekunle"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Samuel Adekunle","item":"https://daily.dev/sources/on_leuwcq"},{"@type":"ListItem","position":3,"name":"Automate Flutter Releases with Shorebird + GitHub Actions (Skip App Store Review)"}]}
```

