From bfc3a50ec443f3214049f5e7d361dfe5150f3775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ol=C4=99dzki?= Date: Thu, 17 Oct 2024 12:32:24 +0200 Subject: [PATCH 1/2] [release] sumo-java-client-2.12 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 94ab820..d2d81b3 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ dependencies { } group = 'com.sumologic.api.client' -version = '2.12-SNAPSHOT' +version = '2.12' description = 'Sumo Logic Java Client Library' java.sourceCompatibility = JavaVersion.VERSION_1_8 From 0febe2352d87d01e38df7d597a34b581815c7bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ol=C4=99dzki?= Date: Thu, 17 Oct 2024 12:43:18 +0200 Subject: [PATCH 2/2] [release] Updating version after release sumo-java-client-2.12 --- CHANGELOG.md | 1 + README.md | 2 +- RELEASING.md | 6 +++--- build.gradle | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01a157f..2d242df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* 2024-10-17: Version 2.12 released to Maven Central. * 2023-10-10: Version 2.11 released to Maven Central. * 2022-04-29: Version 2.10 released to Maven Central. * 2022-01-17: Version 2.9 released to Maven Central. diff --git a/README.md b/README.md index 317c32c..44bfc93 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Java client library is available on Maven central (http://search.maven.org/) com.sumologic.api.client sumo-java-client - 2.11 + 2.12 ``` diff --git a/RELEASING.md b/RELEASING.md index c6b5790..cc41ac4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -17,9 +17,9 @@ signing.gnupg.passphrase=${password_for_imported_sumoapi_key} ``` 2. Remove `-SNAPSHOT` suffix from `version` in `build.gradle` -3. Make a release branch with Scala version and project version, ex. `sumo-java-client-2.12`: +3. Make a release branch with Scala version and project version, ex. `sumo-java-client-2.13`: ``` - export RELEASE_VERSION=sumo-java-client-2.12 + export RELEASE_VERSION=sumo-java-client-2.13 git checkout -b ${RELEASE_VERSION} git add build.gradle git commit -m "[release] ${RELEASE_VERSION}" @@ -31,7 +31,7 @@ 5. Go to https://oss.sonatype.org/index.html#stagingRepositories, search for com.sumologic, close and release your repo. NOTE: If you had to login, reload the URL. It doesn't take you to the right page post-login 6. Update the `README.md` and `CHANGELOG.md` with the new version and set upcoming snapshot `version` - in `build.gradle`, ex. `2.13-SNAPSHOT` + in `build.gradle`, ex. `2.14-SNAPSHOT` 7. Commit the change and push as a PR: ``` git add build.gradle README.md CHANGELOG.md diff --git a/build.gradle b/build.gradle index d2d81b3..20fa1cc 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ dependencies { } group = 'com.sumologic.api.client' -version = '2.12' +version = '2.13-SNAPSHOT' description = 'Sumo Logic Java Client Library' java.sourceCompatibility = JavaVersion.VERSION_1_8