Skip to content
pubscout

pub_release

11.11.1, released 3 weeks ago by onepub.dev

Automates publishing Dart packages to pub.dev, handling version bump, git tags, changelog, and optional dry-run.

$ flutter pub add pub_release
Source repository

What it does

Pub Release automates the release process for Dart packages. It formats code, bumps the semantic version, updates pubspec, creates git tags, generates changelog entries, and publishes to pub.dev, with support for dry‑runs and multi‑package monorepos.

AI-written summary of version 11.11.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Automating releases in CI/CD pipelines
  • Managing monorepo multi‑package releases
  • Validating releases without publishing (dry‑run)
  • Generating changelog entries from commit messages

Skip it when

  • You need manual control over every release step
  • Your project is not managed with Git
  • You are publishing non‑Dart packages

Strengths

  • Fully automated version bump and changelog generation
  • Git integration for tags and release notes
  • Dry‑run mode validates release without publishing
  • Supports multi‑package releases in a mono‑repo

Weaknesses

  • Only works with Dart/Flutter packages
  • Requires Git repository
  • No support for non‑Git workflows

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
10

Run `dart pub global activate pub_release` and execute `pub_release` from your package root.

```bash
# Activate globally
dart pub global activate pub_release

# Run a release
pub_release
```

Alternatives

Packages that do the same job and could replace pub_release.

Works with

Packages commonly used together with pub_release: ones it builds on, ones built on it, and its own family.