Skip to content

Conversation

mugikhan
Copy link
Contributor

@mugikhan mugikhan commented Aug 19, 2024

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

stevensJourney
stevensJourney previously approved these changes Aug 19, 2024
@mugikhan mugikhan merged commit bbb0ab1 into main Aug 20, 2024
4 checks passed
@mugikhan mugikhan deleted the fix/melos-bootstrap-before-publish branch August 20, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants