DEV Community

Rody Davis
Rody Davis

Posted on • Originally published at rodydavis.com on

Automate Flutter App Releases

TLDR You can find the script here.

Make your life easier and automate your builds to beta and production!

What you need #

Initial Setup #

  • Download this file
  • Put it at the root level of your flutter project
  • Open the terminal and navigate to your project location
  • Enter this command: chmod +x release.sh

Usage #

Now you can call this script!

  • For beta: ./release.sh beta
  • For production: ./release.sh release

Overview #

  • Bump the version numbers if you are using the version in the pubspec.yaml
  • Release the apps with Fastlane
  • Format all Dart Files
  • Clean Project
  • Rebuild classes
  • Add commit messages
  • Updates Cocoa Pods

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more