Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 919 Bytes

File metadata and controls

18 lines (12 loc) · 919 Bytes

Releasing

Version

The version lives in one place: VERSION_NAME in gradle.properties.

It flows automatically to:

  • the published Maven artifact (version = property("VERSION_NAME") in sdk/build.gradle.kts), and
  • the version the SDK reports to the backend at runtime — sdkVersion field on install/event payloads and the X-LinkForty-SDK header — via BuildConfig.SDK_VERSION (a buildConfigField sourced from VERSION_NAME, exposed through com.linkforty.sdk.SdkInfo).

So there is no separate version constant to bump — update VERSION_NAME and everything stays in sync.

Steps

  1. Bump VERSION_NAME in gradle.properties.
  2. Update CHANGELOG.md (move [Unreleased] to the new version heading).
  3. Commit, then create and push the git tag (matching VERSION_NAME).
  4. Publish to Maven Central (./gradlew publish), or let the release workflow do it.