Skip to content

Per module versioning backup - #169

Draft
Shamyyoun wants to merge 12 commits into
new_corefrom
per-module-versioning-backup
Draft

Shamyyoun wants to merge 12 commits into
new_corefrom
per-module-versioning-backup

Conversation

@Shamyyoun

Copy link
Copy Markdown
Contributor

No description provided.

Shamyyoun and others added 12 commits December 29, 2025 20:04
- Split single metacto-core version into separate versions per module
- Update version catalog references to use individual version refs
- Modify UpdateVersionCatalogTask to support per-module updates
- Rewrite deployNewCore.yml workflow with:
  - Change detection to identify modified modules
  - Path filters to ignore samples and docs
  - buildSrc changes trigger all module builds
  - Conditional parallel jobs per module
  - Finalize job to merge and commit version catalog

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
… phone-core camera media-players youtube phone-ui image-picker
- Read current version from libs.versions.toml for each module
- Parse and increment the patch number (e.g., 0.2.81-alpha -> 0.2.82-alpha)
- Each module now increments its own version independently

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use gh api to query /orgs/Meta-CTO/packages/maven/{package}/versions
- Get latest published version and increment from that
- Falls back to libs.versions.toml if package not found
- Adds validation to fail if version parsing fails

This fixes version conflicts when multiple modules change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Gradle modules read PUBLISH_CORE_VERSION from versions.properties, not
local.properties. This was causing 409 Conflict errors because the stale
version in versions.properties was being used instead of the calculated
new version.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The version-catalog module also reads from versions.properties.
Added GitHub Packages API query to get latest version and increment it,
then write to versions.properties before publishing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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