--dry-run
flag on the pub_release
command 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 publish
command is also run with the --dry-run
switch so suppress publishing the package.--no-test
flag on the command line.--autoAnswer
flag. When you pass the autoAnswer
flag Pub Release assumes that you answer yes to all questions and takes the default path.--test
flag instructs Pub Release to run all unit tests using the Critical Test package. If any test fails the release will be aborted.--no-git
flag.--no-git
flag.--autoAnswer
flag then the user will no be prompted during the release process.--autoAnswer
flag you MUST also pass the --setVersion
flag.multi
flag performs a simultaneous release of multiple related packages.--setVersion
option allows you to set the version from the command line.--setVersion
option isn't passed then you will be prompted to select the version no.--line
option allows you to override the default line width (80) used when formatting code.--multi
flag when you have multiple related packages that need to be released in sync with a single version no.