From 66e7c86277b1bd01219edddb8f95d55354818df5 Mon Sep 17 00:00:00 2001 From: Mobile Byte Labs Date: Sat, 20 Jun 2026 22:45:28 +0530 Subject: [PATCH] ci(publish): resolve version from gradle.properties (ship 2.1.0) 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). --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d054e21..09421ce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ permissions: jobs: publish: - uses: MobileByteLabs/mbl-actionhub/.github/workflows/publish-kmp-library.yml@v1.0.12 + uses: MobileByteLabs/mbl-actionhub/.github/workflows/publish-kmp-library.yml@v1.9.1 with: module-pattern: 'cmp-' module: ${{ inputs.module || '' }} @@ -38,4 +38,9 @@ jobs: java-distribution: 'zulu' sonatype-host: 'CENTRAL_PORTAL' create-github-release: true + # Publish the version DECLARED in gradle.properties (paycraft.version), not an + # auto-patch-bump off Maven/GitHub Releases. v1.0.12 lacked this, which shipped + # 2.0.3 instead of the declared 2.1.0. v1.9.1 resolves from gradle.properties. + version-source: 'gradle-properties' + gradle-properties-key: 'paycraft.version' secrets: inherit