--dry-runflag on the
pub_releasecommand line. In this case the pub_release process is run but no modifications are made to to the project (except for code formatting). The
dart pub publishcommand is also run with the
--dry-runswitch so suppress publishing the package.
--no-testflag on the command line.
--autoAnswerflag. When you pass the
autoAnswerflag Pub Release assumes that you answer yes to all questions and takes the default path.
--testflag instructs Pub Release to run all unit tests using the Critical Test package. If any test fails the release will be aborted.
--autoAnswerflag then the user will no be prompted during the release process.
--autoAnswerflag you MUST also pass the
multiflag performs a simultaneous release of multiple related packages.
--setVersionoption allows you to set the version from the command line.
--setVersionoption isn't passed then you will be prompted to select the version no.
--lineoption allows you to override the default line width (80) used when formatting code.