- Run tests
- Increase the version in the
gradle.propertiessrc/main/java/com.configcat/Constants.javafile. - Commit & Push
Use the same version for the git tag as in the properties file.
-
Via git tag
- Create a new version tag.
git tag v[MAJOR].[MINOR].[PATCH]
Example:
git tag v2.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 Central Repository and follow these steps:
- Go to the
Publishpage and select the version you published. - Click
Publish. The process might take some time, clickRefreshto get the latest state.
- Go to the
- Make sure the new version is available on Maven Central.
Steps to connect your application
- Update Maven import examples.
- Update Gradle import examples.
Update and test sample apps with the new SDK version.