pub_release
  • README
  • Creating a release
  • Multi-package Releases
    • Setup
    • Commands
    • Circular dependencies
    • Mono Repo
    • Version No.s
  • Hooks
  • Dependency overrides
  • Automatic github releases
  • Attach an asset to a github release
  • Automating releases using Git work flows
  • Version File
  • CHANGELOG
  • example
Powered by GitBook
On this page
  • Sponsored by OnePub
  • Getting Started

Was this helpful?

README

NextCreating a release

Last updated 2 years ago

Was this helpful?

Pub Release is a package that automates publishing dart/flutter packages to pub.dev.

Pub Release also supports the release of multiple related packages.

Pub Release performs the following operations:

  • Run pre/post release 'hook' scripts.

  • Formats all code using dartfmt

  • Increments the version no. using semantic versioning after asking what sort of changes have been made.

  • Creates a dart file containing the version no. in src/version/version.g.dart

  • Updates the pubspec.yaml with the new version no.

  • If you are using Git:

    • Generates a Git Tag using the new version no.

    • Generates release notes from commit messages since the last tag.

    • Publish any executables list in pubspec.yaml as assets on github

  • Allows you to edit the release notes.

  • Adds the release notes to CHANGELOG.MD along with the new version no.

  • Publishes the package to pub.dev.

Sponsored by OnePub

OnePub allows you to privately share Dart packages across your Team and with your customers.

Try it for free and publish your first private package in seconds.

Publish a private package in five commands:

dart pub global activate onepub

onepub login

cd <my package>

onepub pub private

dart pub publish

Getting Started

  • Install Pub Release globally with:

dart pub global activate pub_release

Help support Pub Release by supporting , the private Dart repository.

Read the to learn how to use it

simultaneous
OnePub
full documentation