release_kit 0.1.0
release_kit: ^0.1.0 copied to clipboard
Flutter release toolkit - automatic version bump + multi-platform packaging with a unified config.
release-kit
Flutter release toolkit — automatic version management + multi-platform packaging, unified config, reusable by any Flutter project.
English | 简体中文
release-kit — versions bump automatically on
git commit, onerelease-kit.yamldrives every platform, one command builds Windows / Android / macOS / Linux / iOS.
Full usage manual: docs/GUIDE.md
Features #
- Auto version bump —
git commitincrementspubspec.yaml - One flat config —
release-kit.yamlshared by all platforms - One command packaging — Windows / Android / macOS / Linux / iOS
- Auto launcher icons — one
app.logoimage → all platform icons
Quick Start #
git clone <release-kit-repo> tools/release-kit # 1. get the tool
cd /path/to/myapp # 2. your Flutter project
tools/release-kit/release-kit.sh init # 3. one step: config + hook
tools/release-kit/release-kit.sh publish android # 4. build & package
Or install from pub.dev (Dart CLI):
dart pub global activate release_kit
release-kit init
release-kit publish android
Windows? Use release-kit.ps1 instead of release-kit.sh:
.\tools\release-kit\release-kit.ps1 init
.\tools\release-kit\release-kit.ps1 publish windows -Obfuscate
Commands #
| Command | Description |
|---|---|
release-kit init |
copy release-kit.yaml template + install hook |
release-kit publish <platform> |
build & package (windows / android / macos / linux / ios) |
Add -p <project-root> (anywhere in the args) to target another project from any directory:
release-kit publish android --obfuscate -p /path/to/myapp
Key flags #
| Platform | Flags |
|---|---|
| windows | -Obfuscate -SkipBuild -Harden -CleanFlutter -SkipVerify -OutputDir |
| android | --apk / --aab --skip-build --obfuscate |
| linux | --skip-build --appimage |
| macos / ios | --skip-build |
On Windows,
-Obfuscatealso works for android (auto-mapped to--obfuscate). All platforms accept--no-icons.
License #
MIT License — see LICENSE.