DevOps v1.0.0

flutter-release-pipeline

Build and package Flutter Android release artifacts (APK/AAB), collect outputs into a single folder, and produce a short...

neo1307 更新于 2026-04-18 1 浏览
下载 SKILL

技能说明

Build and package Flutter Android release artifacts (APK/AAB), collect outputs into a single folder, and produce a short release checklist. Use when the user asks to build APK/AAB, prepare a Play Store release, bump version, gather mapping/symbols, or generate a deterministic release folder for sharing.

使用场景

Build and package Flutter Android release artifacts (APK/AAB), collect outputs into a single folder, and produce a short release checklist. Use when the user asks to build APK/AAB, prepare a Play Store release, bump version, gather mapping/symbols, or generate a deterministic release folder for sharing.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/flutter-release-pipeline
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 16 kB
SKILL.md text/markdown
---
name: flutter-release-pipeline
description: Build and package Flutter Android release artifacts (APK/AAB), collect outputs into a single folder, and produce a short release checklist. Use when the user asks to build APK/AAB, prepare a Play Store release, bump version, gather mapping/symbols, or generate a deterministic release folder for sharing.
---

# Flutter Android Release Pipeline

## Workflow

1) **Preflight**
- Confirm `flutter --version` works.
- Confirm project path contains `pubspec.yaml`.

2) **Build** (choose one)
- AAB: `flutter build appbundle --release`
- APK: `flutter build apk --release` (optionally `--split-per-abi`)

3) **Collect artifacts**
Create `out/flutter_release_<timestamp>/` and copy:
- `build/app/outputs/flutter-apk/*.apk` (if APK build)
- `build/app/outputs/bundle/release/*.aab` (if AAB build)
- `build/app/outputs/mapping/release/mapping.txt` (if present)
- `pubspec.yaml` (snapshot)

4) **Report**
- Print paths + sizes + SHA256 for each artifact.
- Print a short checklist (versionCode/versionName sanity, signing, Play Console notes).

## Script
Run (PowerShell):
- `powershell -ExecutionPolicy Bypass -File scripts/flutter_release.ps1 -Project "<path>" -Mode aab|apk -SplitPerAbi:$false`

## Notes
- Avoid changing app code unless explicitly requested.
- If build fails, return the exact error + suggested fix.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。