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

  1. Read root pubspec.yaml; expand workspace: entries and select one package when several exist.
  2. Run scripts/pre_check.py. Stop for uncommitted changes or a branch behind upstream; report ahead commits that the release push will include.
  3. Detect FVM and prefix Dart/Flutter commands with fvm when configured.
  4. Run scripts/inspect_workflows.py [package-name]. Select a workflow using dart-lang/setup-dart/.github/workflows/publish.yml and 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>]
Installs
9
First Seen
May 5, 2026
release-dart-package-action — hu-wentao/skills