fix(publishing): create build directory if doesn't exist

pull/1919/head v9.4.0
Ellet 10 months ago
parent f8a0959219
commit 1f299e66bf
  1. 3
      scripts/create_version_content_from_github_release.dart

@ -61,5 +61,8 @@ Future<void> main(List<String> args) async {
print('Release notes is null.');
exit(1);
}
if (!await versionContentFile.parent.exists()) {
await versionContentFile.parent.create(recursive: true);
}
await versionContentFile.writeAsString(githubReleaseNotes);
}

Loading…
Cancel
Save