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