- Run tests
- Increase the version in the
gradle.properties
andsrc/main/java/com.configcat/Utils.java
file. - 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 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 theAutomatically drop when released
option.
- Select
- 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.