@@ -9,10 +9,33 @@ feature flagging and experimentation for Eppo customers. An API key is required
9
9
10
10
``` groovy
11
11
dependencies {
12
- implementation 'cloud.eppo:android-sdk:3.0.1 '
12
+ implementation 'cloud.eppo:android-sdk:3.2.0 '
13
13
}
14
14
```
15
15
Snapshots of the development version are available in [ Sonatype's snapshots repository] ( https://s01.oss.sonatype.org/content/repositories/snapshots/ ) .
16
16
17
+ ## Releasing a new version
18
+
19
+ You can simply [ draft a new release on GitHub] ( https://github.com/Eppo-exp/android-sdk/releases ) and then CI will take care of the rest.
20
+
21
+ For publishing a release locally, instead, follow the steps below.
22
+
23
+ ### Prerequisites
24
+
25
+ 1 . [ Generate a user token] ( https://central.sonatype.org/publish/generate-token/ ) on ` s01.oss.sonatype.org ` ;
26
+ 2 . [ Configure a GPG key] ( https://central.sonatype.org/publish/requirements/gpg/ ) for signing the artifact. Don't forget to upload it to the key server;
27
+ 3 . Make sure you have the following vars in your ` ~/.gradle/gradle.properties ` file:
28
+ 1 . ` ossrhUsername ` - User token username for Sonatype generated in step 1
29
+ 2 . ` ossrhPassword ` - User token password for Sonatype generated in step 1
30
+ 3 . ` signing.keyId ` - GPG key ID generated in step 2
31
+ 4 . ` signing.password ` - GPG key password generated in step 2
32
+ 5 . ` signing.secretKeyRingFile ` - Path to GPG key file generated in step 2
33
+
34
+ Once you have the prerequisites, follow the steps below to release a new version:
35
+
36
+ 1 . Bump the project version in ` build.gradle `
37
+ 2 . Run ` ./gradlew publish -Prelease ` or ` ./gradlew publish -Psnapshot `
38
+ 3 . Follow the steps in [ this page] ( https://central.sonatype.org/publish/release/#credentials ) to promote your release
39
+
17
40
## Getting Started
18
41
For information on usage, refer to our [ SDK Documentation] ( https://docs.geteppo.com/sdks/client-sdks/android/ ) .
0 commit comments