flutter_ci_tools library
Classes
- AppStoreUploadAction
- Uploads an IPA file to App Store Connect via Fastlane Pilot.
- ArgsParser
- Simple CLI argument parser.
- BuildAndroidAction
- Builds an Android artifact (APK or AAB) and stores it in context.
- BuildIOSAction
- Builds an iOS IPA and stores it in context.
- CheckGitStatusAction
- Aborts the pipeline if the working tree has uncommitted changes.
- CleanProjectAction
-
Runs
fvm flutter cleanfollowed byfvm flutter pub get. - ContextKeys
- Centralised string keys for values stored in PipelineContext's KV bag.
- FeishuBuildNotifyAction
- Sends the standard "new build" message to Feishu.
- FeishuNotifyAction
- Sends an arbitrary text message to a Feishu (Lark) webhook.
- GitManager
- Interface for Git operations used by the build pipeline.
- GitManagerImpl
- Production GitManager implementation using ShellRunner to execute Git commands.
- GooglePlayUploadAction
- Uploads an AAB file to Google Play via Fastlane Supply.
- Logger
- Colored terminal logger with emoji indicators and timestamps.
- PgyerUploadAction
- Uploads the build artifact to Pgyer and stores the download URL in the context bag under resultKey.
- PgyerUploadV2Action
- Pgyer's official 3-step "fastUploadApp" upload protocol.
- Pipeline
- Base class for CI build pipelines.
- PipelineAction
- A single deploy/notification step in a pipeline.
- PipelineContext
- Shared, mutable context passed through all pipeline steps.
- PipelineRegistry
- Manages a collection of named pipelines and handles CLI routing.
- PushBuildTagAction
-
Creates and force-pushes a
builds/<buildNumber>tag for this build. - ResolveBuildVersionAction
- Computes the next build number via VersionManager and stores it in PipelineContext under ContextKeys.buildNumber.
- RestoreWorkspaceAction
-
Runs
git reset --hard HEAD+git clean -fdto restore a clean tree. - ShellResult
- Result of a captured shell command execution.
- ShellRunner
- Interface for executing shell commands.
- ShellRunnerImpl
- Production ShellRunner implementation that executes real processes via Process.start / Process.run.
- SwapInfoPlistAction
-
Swaps
ios/Runner/Info.plistwithios/Runner/Info.plist.product, backing up the original toInfo.plist.backup. - VersionManager
- Interface for managing git-tag-based build versioning.
- VersionManagerImpl
- Production VersionManager implementation using git tags for build numbering.
Enums
- ActionStatus
- AndroidBuildType
- Android build output format.
- DeployTarget
- Destination where a build artifact will be uploaded.
Exceptions / Errors
- DeployException
- Thrown when a deploy operation (upload, notification) fails.
- GitException
- Exceptions thrown by flutter_ci_tools. Thrown when a Git command fails or the working tree is not clean.