Skip to content

cleanup: fix version logic#215

Merged
demolaf merged 6 commits intomainfrom
version_fix
Apr 10, 2026
Merged

cleanup: fix version logic#215
demolaf merged 6 commits intomainfrom
version_fix

Conversation

@kevmoo
Copy link
Copy Markdown
Collaborator

@kevmoo kevmoo commented Apr 10, 2026

  • move script to scripts dir
  • only generate for dart_firebase_admin
  • put it in the lib/src directory

- move script to scripts dir
- only generate for dart_firebase_admin
- put it in the lib/src directory
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request moves the version generation script to a dedicated scripts directory and refactors it to target the dart_firebase_admin package specifically, shifting the output location of the generated version file to lib/src. Corresponding import updates were made in the application and test code to reflect this new structure. Review feedback focused on updating the script's internal documentation and generated headers to match the new file paths, as well as improving the robustness of the version extraction logic to correctly handle potential trailing comments in the pubspec file.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

Coverage Report

✅ Coverage 74.56% meets 40% threshold

Total Coverage: 74.56%
Lines Covered: 5015/6726

Package Breakdown

Package Coverage
dart_firebase_admin 72.42%
google_cloud_firestore 76.99%

Minimum threshold: 40%

kevmoo and others added 5 commits April 9, 2026 17:26
@demolaf demolaf merged commit fc7cb06 into main Apr 10, 2026
14 checks passed
@demolaf demolaf deleted the version_fix branch April 10, 2026 09:26
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.

2 participants