INNER CODE UNIT · Dart

changelog

jhomlala/alice · scripts/create_github_release.dart:68

    final changelog = _readLatestChangelog(localPath, localVersion);
    if (changelog != null) {
      releaseEntries.add('### `$pubName`\n$changelog');
    }
  }

  if (releaseEntries.isEmpty) {
    print('\nNo newly-published packages found. Nothing to release.');
    exit(0);
  }

  final isDryRun = args.contains('--dry-run');
  final releaseVersion = _readLocalVersion('packages/alice');
  if (releaseVersion == null) {
    _die('Could not read version from packages/alice/pubspec.yaml');
  }

  final releaseBody = releaseEntries.join('\n\n');

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…