Skip to content

Commit bd6dc53

Browse files
authored
chore: Prepare for release v3.2.0 (#75)
* chore: Prepare for release v3.2.0 * add release steps to readmee
1 parent cfd9a61 commit bd6dc53

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,33 @@ feature flagging and experimentation for Eppo customers. An API key is required
99

1010
```groovy
1111
dependencies {
12-
implementation 'cloud.eppo:android-sdk:3.0.1'
12+
implementation 'cloud.eppo:android-sdk:3.2.0'
1313
}
1414
```
1515
Snapshots of the development version are available in [Sonatype's snapshots repository](https://s01.oss.sonatype.org/content/repositories/snapshots/).
1616

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+
1740
## Getting Started
1841
For information on usage, refer to our [SDK Documentation](https://docs.geteppo.com/sdks/client-sdks/android/).

eppo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "cloud.eppo"
9-
version = "3.2.0-SNAPSHOT"
9+
version = "3.2.0"
1010

1111
android {
1212
buildFeatures.buildConfig true

0 commit comments

Comments
 (0)