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

fix: Run melos bootstrap before publishing

Open mugikhan opened this issue 6 months ago • 0 comments

Description

Version solving fails if the pubspec_overrides.yaml is not generated before running melos publish (dart pub publish --dry-run). It tends to look for a new version online before it has been published. This change ensures that the override is present before trying to validate the pubspec.

Work done

  • Add step to install dependencies and generate a pubspec_overrides.yaml so that version solving does not fail when validating the pubspec with melos publish.
  • Only run publish workflow once per tag push

mugikhan avatar Aug 19 '24 15:08 mugikhan