release-pub
release-pub Skill
This skill is a specialized release workflow for Dart and Flutter packages published to pub.dev (including Dart CLI tools). It relies on a local helper script (release_helper) to safely manipulate pubspec.yaml and CHANGELOG.md.
Official Documentation
For detailed information on automated publishing, refer to the official Dart documentation: Automated publishing of packages to pub.dev
[!CAUTION] Immutable Tags: NEVER delete, modify, or re-push a Git tag that has already been published to pub.dev. Pub.dev entries are immutable. If a mistake is found after publishing, you must publish a new version (e.g., a patch release) instead of attempting to overwrite the existing tag.
Workflow Overview
Follow these steps precisely:
0. Initial Setup Verification (One-time only)
If this is the first time the package is being published via GitHub Actions, ensure the user has configured OIDC on pub.dev and added the workflow file: