Skip to content

Continuous Integration

To release or patch from CI, install Shorebird on the builder, give it an API key in the SHOREBIRD_TOKEN environment variable, and run shorebird release or shorebird patch where you ran flutter build. On GitHub Actions you can sign in with OIDC instead of storing a key (Shorebird 1.6.129 and newer). Pick the guide for your provider. If yours isn’t listed, the generic guide works on any builder that can run a shell script.

GitHub ActionsSet up Shorebird and release or patch from a GitHub Actions workflow.
GitLabRelease or patch from GitLab CI/CD pipelines.
CodemagicRelease or patch from Codemagic workflows.
FastlaneRelease and patch from fastlane lanes, on CI or your own machine.
Other CI providersRecipes for Azure Pipelines, Jenkins, Bitrise, CircleCI and Bitbucket Pipelines.
Generic CI setupInstall Shorebird, add credentials and run it on any builder.
Scripting the Shorebird CLIRun the CLI unattended, read its JSON output, and handle its exit codes.