release-dart-package-action
Installation
SKILL.md
Release Dart Package with GitHub Actions
Operate from the Git root containing the workspace pubspec.yaml. A release request authorizes the selected package workflow, but version choice and any ambiguous workflow selection still require confirmation.
Preflight
- Read root
pubspec.yaml; expandworkspace:entries and select one package when several exist. - Run
scripts/pre_check.py. Stop for uncommitted changes or a branch behind upstream; report ahead commits that the release push will include. - Detect FVM and prefix Dart/Flutter commands with
fvmwhen configured. - Run
scripts/inspect_workflows.py [package-name]. Select a workflow usingdart-lang/setup-dart/.github/workflows/publish.ymland record its tag pattern. If none exists, read github_action_template.md.
Prepare Version
Run:
python <skill-root>/scripts/prepare_release.py <current-version> \
[--tag-match <pattern>] [--package-path <relative-package-path>]