Skip to content

chore: restore pubspec constraints and fix release workflow install#66

Merged
FilledStacks merged 2 commits intomainfrom
aymen/pubspec-release-hotfix
Mar 2, 2026
Merged

chore: restore pubspec constraints and fix release workflow install#66
FilledStacks merged 2 commits intomainfrom
aymen/pubspec-release-hotfix

Conversation

@Eimen2018
Copy link
Collaborator

Summary

  • restore pubspec.yaml constraints to avoid unintended dependency floor downgrades
  • pin semantic-release extra plugins in release workflow to versions compatible with cycjimmy/semantic-release-action@v3

Why

Publishing was failing before pub publish due npm peer resolution in the release step:

  • action v3 runs semantic-release v19
  • unpinned @semantic-release/exec resolved to v7 (requires semantic-release >=24.1)
  • result: npm install failed with ERESOLVE

Changes

  • pubspec.yaml
    • restore higher constraints for path, recase, meta, stacked_shared, dart_style, code_builder, collection, json_annotation, build_runner, test, json_serializable
  • .github/workflows/release.yml
    • pin:
      • @semantic-release/exec@6
      • @semantic-release/git@10
      • @semantic-release/changelog@6

Validation

  • flutter pub get
  • dart analyze (infos only)
  • dart test -r compact
  • local npm compatibility check: semantic-release@19 + pinned plugins installs successfully

@github-actions
Copy link

github-actions bot commented Feb 27, 2026

LCOV of commit ad5a98f during Test Package #202

  lines......: 64.8% (1618 of 2497 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

Full coverage report

@Eimen2018 Eimen2018 force-pushed the aymen/pubspec-release-hotfix branch from a4d0b7d to ad5a98f Compare February 27, 2026 12:06
Copy link
Contributor

@FilledStacks FilledStacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@FilledStacks FilledStacks merged commit 68ea933 into main Mar 2, 2026
1 check passed
@FilledStacks FilledStacks deleted the aymen/pubspec-release-hotfix branch March 2, 2026 10:49
@FilledStacks
Copy link
Contributor

🎉 This PR is included in version 1.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants