- Run tests
- Increase the version in the
gradle.properties
andsrc/commonMain/kotlin/com/configcat/Constants.kt
file. - Commit & Push
Use the same version for the git tag as in the properties file.
No "v" prefix used in the tag name!
-
Via git tag
- Create a new version tag.
git tag [MAJOR].[MINOR].[PATCH]
Example:
git tag 2.5.5
- Push the tag.
git push origin --tags
- Create a new version tag.
-
Via Github release
Create a new Github release with a new version tag and release notes.
- Log in to Maven Repository and follow these steps:
- Select
Staging Repositories
and select the version you published. - Click
Close
. The process might take some time, clickRefresh
to get the latest state. - When the repo is closed click
Release
, tick theAuto drop when released
option.
- Select
- Make sure the new version is available on Maven Central. (It might take some time - up to hours - until the repo is synced)
Steps to connect your application
- Update Maven import examples.
- Update Gradle import examples.
Update and test sample apps with the new SDK version.