Search…
Creating a release
DCli uses the package pub_release (written in DCli) to create releases.
Start by installing pub_release.
1
pub global activate pub_release
Copied!
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
1
cd dcli
2
pub_release
Copied!
Answer the questions asked.
Job done.
Last modified 1mo ago
Copy link