mono_repo.dart icon indicating copy to clipboard operation
mono_repo.dart copied to clipboard

Option to generate workflow files for automated publishing

Open jonasfj opened this issue 3 years ago • 1 comments

Context: https://dart.dev/tools/pub/automated-publishing

I did this with some hacks in dart-neats: https://github.com/google/dart-neats/blob/master/.github/workflows/publish.yml

It assumes packages are in a folder with the package name, and relies on a tag pattern like <package>-v{{version}}.

Perhaps it would better if there was an option for mono_repo to generate a workflow file for each package -- it's not as elegant, but a lot less fragile -- or maybe there is some other option we can consider?

jonasfj avatar Feb 03 '23 18:02 jonasfj

CC @devoncarew – he added some tooling to https://github.com/dart-lang/ecosystem/blob/main/pkgs/blast_repo/lib/src/tweaks/auto_publish_tweak.dart for this!

kevmoo avatar Feb 06 '23 21:02 kevmoo