Skip to content

ci(publish): resolve version from gradle.properties (ship 2.1.0) - #104

Merged
therajanmaurya merged 1 commit into
developmentfrom
ci/publish-version-gradle-props
Jun 20, 2026
Merged

ci(publish): resolve version from gradle.properties (ship 2.1.0)#104
therajanmaurya merged 1 commit into
developmentfrom
ci/publish-version-gradle-props

Conversation

@therajanmaurya

@therajanmaurya therajanmaurya commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Fixes the publish pipeline to ship the version declared in gradle.properties (paycraft.version=2.1.0) instead of auto-patch-bumping off Maven/GitHub Releases (which shipped 2.0.3). Bumps mbl-actionhub @v1.0.12 → @v1.9.1 + adds version-source: gradle-properties + gradle-properties-key: paycraft.version. Workflow-only change.

After merge: dispatch publish from development → 2.1.0.

Summary by CodeRabbit

  • Chores
    • Updated the CI/CD publish workflow to use an improved version with enhanced version management capabilities. The publishing process now sources version information from the project configuration file instead of relying on previous default behavior.

Bump mbl-actionhub @v1.0.12 -> @v1.9.1 + version-source: gradle-properties +
gradle-properties-key: paycraft.version, so publish ships the declared
paycraft.version (2.1.0) instead of auto-patch-bumping (which shipped 2.0.3).
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pay-craft Building Building Preview, Comment Jun 20, 2026 5:15pm

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The publish workflow updates its reusable workflow reference from publish-kmp-library.yml@v1.0.12 to v1.9.1 and adds two new inputs (version-source: 'gradle-properties' and gradle-properties-key: 'paycraft.version') to resolve the published version from gradle.properties.

Changes

Publish Workflow Update

Layer / File(s) Summary
Reusable workflow version bump and version-source inputs
.github/workflows/publish.yml
Bumps the reusable publish-kmp-library.yml reference from v1.0.12 to v1.9.1 and adds version-source: 'gradle-properties' and gradle-properties-key: 'paycraft.version' inputs to drive version resolution from gradle.properties.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • MobileByteLabs/PayCraft#38: Also modifies .github/workflows/publish.yml to delegate the publish job to the same reusable publish-kmp-library.yml workflow via a version bump in the uses: ref.

Poem

🐇 Hippity-hop, the workflow's updated today,
From v1.0.12, we've hopped far away!
Now v1.9.1 hops into the scene,
With gradle.properties keeping versions clean.
The paycraft.version hops right into place,
Publishing libraries at a bunny's pace! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: updating the publish workflow to resolve version from gradle.properties and shipping version 2.1.0, which aligns with the primary objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/publish-version-gradle-props

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@therajanmaurya
therajanmaurya merged commit 284eb16 into development Jun 20, 2026
7 of 10 checks passed
@therajanmaurya
therajanmaurya deleted the ci/publish-version-gradle-props branch July 29, 2026 12:28
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