<project root>
/tool/pre_release_hook<project root>
/tool/post_release_hookproject root
is the directory where your pubspec.yaml lives.--dry-run
flag is passed to the pub_release
command then a --dry-run
flag will be passed on the command line to the hook.--dry-run
flag is passed than your hook should suppress any actions that permanently modify the project.