Creating a release

DCli uses the package pub_release (written in DCli) to create releases.

Start by installing pub_release.

pub global activate pub_release

Commit and push all of you code changes.

pub_release performs the following tasks

  • Incrementing the version no.

  • runs 'dcli pack' to pack the templates.

  • formatting code

  • generating release notes

  • checking that all code is committed

  • pushing the release

  • git tagging the release with the new version no.

  • publishing the the new release to pub.dev

Run pub_release

cd dcli
pub_release

Answer the questions asked.

Job done.

Last updated