diff --git a/PUBLISHING.md b/PUBLISHING.md index 34872cde..2fc6d24e 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -27,8 +27,11 @@ ossrhPassword=<…password…> * Build and test the code that needs to be published. * Bump version by modifying the `version` variable in `build.gradle` file. * Update download version in README for both Maven and Gradle. +* Update `dgraph4j version` in `grpc-netty` table in README. +* Raise a PR for the above changes. Put the changelog in PR description and merge it. * Run `./gradlew uploadArchives`. * Release the deployment by following the steps on the page _Releasing the Deployment_ (link in references below). +* Also cut a release tag on GitHub with the new version. ### References * [Publishing a project on Maven Central](https://medium.com/@nmauti/publishing-a-project-on-maven-central-8106393db2c3) diff --git a/README.md b/README.md index acc62a0f..36507177 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,12 @@ grab via Maven: io.dgraph dgraph4j - 20.03.2 + 20.03.3 ``` or Gradle: ```groovy -compile 'io.dgraph:dgraph4j:20.03.2' +compile 'io.dgraph:dgraph4j:20.03.3' ``` ## Supported Versions @@ -106,7 +106,7 @@ use a different version of this client. | 1.7.0 | 1.15.0 | 2.0.12.Final | | 1.7.3-1.7.5 | 1.15.1 | 2.0.12.Final | | 2.0.0-2.1.0 | 1.22.1 | 2.0.25.Final | - | 20.03.0-20.03.2 | 1.26.0 | 2.0.26.Final | + | 20.03.0-20.03.3 | 1.26.0 | 2.0.26.Final | So, for example, if you were using `dgraph4j v20.03.0`, then you would need to use `2.0.26-Final` as the version for `netty-tcnative-boringssl-static` dependency as suggested by gRPC docs for @@ -235,7 +235,7 @@ calling `alter`. You can find more details ```java String schema = "name: string @index(exact) ."; -Operation op = Operation.newBuilder() +Operation operation = Operation.newBuilder() .setSchema(schema) .setRunInBackground(true) .build(); diff --git a/build.gradle b/build.gradle index 0016dd27..3161edff 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ apply plugin: 'signing' group = 'io.dgraph' archivesBaseName = 'dgraph4j' -version = '20.03.2' +version = '20.03.3' sourceCompatibility = 1.8 targetCompatibility = 1.8