diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 23514f7e..526d58ee 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-functions.git", - "sha": "e810aba13c84890ee3dd215e78c07eba85e36f72" + "sha": "2e8e3d8ff3a73d6a1ff6726d3e02bf834d4bc125" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ea52b8a0bd560f72f376efcf45197fb7c8869120" + "sha": "ba9918cd22874245b55734f57470c719b577e591" } } ] diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml index d4d367cf..6844407b 100644 --- a/.github/workflows/formatting.yaml +++ b/.github/workflows/formatting.yaml @@ -18,7 +18,7 @@ jobs: with: java-version: 11 - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1.8.0 + - uses: googleapis/code-suggester@v1 with: command: review pull_number: ${{ github.event.pull_request.number }} diff --git a/.kokoro/readme.sh b/.kokoro/readme.sh index 9d6f61df..45cef9c1 100755 --- a/.kokoro/readme.sh +++ b/.kokoro/readme.sh @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials git config --global credential.helper 'store --file ~/.git-credentials' python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool + +set +e python3.6 -m autosynth.synth \ --repository=googleapis/java-functions \ --synth-file-name=.github/readme/synth.py \ --metadata-path=.github/readme/synth.metadata \ --pr-title="chore: regenerate README" \ - --branch-suffix="readme" \ No newline at end of file + --branch-suffix="readme" + +# autosynth returns 28 to signal there are no changes +RETURN_CODE=$? +if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] +then + exit ${RETURN_CODE} +fi diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index 4fd81f30..b9c14da9 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -9,7 +9,7 @@ env_vars: { env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" + value: "docs-staging-v2" # Production will be at: docs-staging-v2 } diff --git a/CHANGELOG.md b/CHANGELOG.md index 75b09609..bd35bbda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.2](https://www.github.com/googleapis/java-functions/compare/v1.0.1...v1.0.2) (2020-11-17) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.15.0 ([#80](https://www.github.com/googleapis/java-functions/issues/80)) ([24cdd0f](https://www.github.com/googleapis/java-functions/commit/24cdd0f7fc59412e334eed97dfe6bfc01135f8e4)) + ### [1.0.1](https://www.github.com/googleapis/java-functions/compare/v1.0.0...v1.0.1) (2020-11-02) diff --git a/README.md b/README.md index 6a380ea9..ae03ae52 100644 --- a/README.md +++ b/README.md @@ -17,18 +17,18 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-functions - 1.0.0 + 1.0.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-functions:1.0.0' +compile 'com.google.cloud:google-cloud-functions:1.0.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "1.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "1.0.1" ``` ## Authentication diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml index e10b4033..6ecaa5f4 100644 --- a/google-cloud-functions-bom/pom.xml +++ b/google-cloud-functions-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions-bom - 1.0.1 + 1.0.2 pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-functions - 1.0.1 + 1.0.2 com.google.api.grpc proto-google-cloud-functions-v1 - 1.0.1 + 1.0.2 com.google.api.grpc grpc-google-cloud-functions-v1 - 1.0.1 + 1.0.2 diff --git a/google-cloud-functions/pom.xml b/google-cloud-functions/pom.xml index 3b82b95f..47353ba5 100644 --- a/google-cloud-functions/pom.xml +++ b/google-cloud-functions/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-functions - 1.0.1 + 1.0.2 jar Google Cloud Functions https://github.com/googleapis/java-functions @@ -11,7 +11,7 @@ com.google.cloud google-cloud-functions-parent - 1.0.1 + 1.0.2 google-cloud-functions diff --git a/grpc-google-cloud-functions-v1/pom.xml b/grpc-google-cloud-functions-v1/pom.xml index 833ad4f0..b96c2098 100644 --- a/grpc-google-cloud-functions-v1/pom.xml +++ b/grpc-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 1.0.1 + 1.0.2 grpc-google-cloud-functions-v1 GRPC library for grpc-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 1.0.1 + 1.0.2 diff --git a/pom.xml b/pom.xml index 6e794b5d..c77674f0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-functions-parent pom - 1.0.1 + 1.0.2 Google Cloud Functions Parent https://github.com/googleapis/java-functions @@ -70,23 +70,23 @@ com.google.cloud google-cloud-functions - 1.0.1 + 1.0.2 com.google.api.grpc proto-google-cloud-functions-v1 - 1.0.1 + 1.0.2 com.google.api.grpc grpc-google-cloud-functions-v1 - 1.0.1 + 1.0.2 com.google.cloud google-cloud-shared-dependencies - 0.14.1 + 0.15.0 pom import diff --git a/proto-google-cloud-functions-v1/pom.xml b/proto-google-cloud-functions-v1/pom.xml index afa5464e..75615e74 100644 --- a/proto-google-cloud-functions-v1/pom.xml +++ b/proto-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v1 - 1.0.1 + 1.0.2 proto-google-cloud-functions-v1 PROTO library for proto-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 1.0.1 + 1.0.2 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 080606ee..a8a41acd 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-functions - 1.0.0 + 1.0.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index d9c84545..ceea5bc9 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-functions - 1.0.0 + 1.0.1 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index c398ffa5..d61657d9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-functions - 1.0.0 + 1.0.1 diff --git a/synth.metadata b/synth.metadata index 84f76edd..3dace790 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-functions.git", - "sha": "16b53ecfd674a695f815b05b1581072fdacc774f" + "sha": "089061dfd44cf2909ae6bc21047b92c0301d3dc9" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" + "sha": "7d652819519dfa24da9e14548232e4aaba71a11c" } } ], diff --git a/versions.txt b/versions.txt index f64074fa..4b5f1f36 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-functions:1.0.1:1.0.1 -proto-google-cloud-functions-v1:1.0.1:1.0.1 -grpc-google-cloud-functions-v1:1.0.1:1.0.1 +google-cloud-functions:1.0.2:1.0.2 +proto-google-cloud-functions-v1:1.0.2:1.0.2 +grpc-google-cloud-functions-v1:1.0.2:1.0.2