Skip to content

fix: build_runner version#518

Merged
frnandu merged 1 commit intomasterfrom
fix-build_runner-version
Mar 23, 2026
Merged

fix: build_runner version#518
frnandu merged 1 commit intomasterfrom
fix-build_runner-version

Conversation

@frnandu
Copy link
Copy Markdown
Collaborator

@frnandu frnandu commented Mar 23, 2026

Summary by CodeRabbit

  • Chores
    • Updated build automation configuration for version generation, streamlining the release workflow by reorganizing build step execution.

@frnandu frnandu merged commit 78360a5 into master Mar 23, 2026
5 of 6 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 23, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8ba79005-dae0-45c1-bd72-828a8ae81add

📥 Commits

Reviewing files that changed from the base of the PR and between 92fd86b and 0856aa8.

📒 Files selected for processing (2)
  • .github/workflows/prerelease-publish.yaml
  • melos.yaml

📝 Walkthrough

Walkthrough

The build_runner generation step for the ndk package is relocated from the GitHub Actions prerelease publish workflow to a pre-commit hook in the melos version command configuration, streamlining the automation workflow.

Changes

Cohort / File(s) Summary
Workflow Cleanup
.github/workflows/prerelease-publish.yaml
Removed the "Generate version source before publish" step that executed build_runner, allowing the publish step to proceed directly after Flutter setup.
Melos Hook Configuration
melos.yaml
Enabled the command.version hook and added a preCommit hook that runs build_runner for ndk, then stages the generated packages/ndk/lib/src/version.dart file.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A build step hops from workflow to hook,
Where melos now handles the look,
The version blooms bright,
With pre-commit might,
A simpler pipeline—take a look! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-build_runner-version

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant