finalize method

Future<Map<ReleasePackerCommand, bool>> finalize(
  1. Directory rootDirectory, {
  2. ReleaseBundle? releaseBundle,
  3. String? platform,
})

Implementation

Future<Map<ReleasePackerCommand, bool>> finalize(Directory rootDirectory,
    {ReleaseBundle? releaseBundle, String? platform}) {
  var finalizeCommands = this.finalizeCommands;
  if (finalizeCommands != null && finalizeCommands.isNotEmpty) {
    print('\n»  Running finalize commands (${finalizeCommands.length})...');
  }

  return ReleasePackerCommand.executeCommands(
      this, finalizeCommands, rootDirectory,
      releaseBundle: releaseBundle, platform: platform);
}