From 306220c7711c323d08e7e775ec27b1c15a747c99 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Wed, 12 Aug 2020 11:21:04 -0400
Subject: [PATCH 01/10] chore: release 0.3.3-SNAPSHOT
* chore: updated versions.txt [ci skip]
* chore: updated samples/pom.xml [ci skip]
* chore: updated samples/install-without-bom/pom.xml [ci skip]
* chore: updated samples/snippets/pom.xml [ci skip]
* chore: updated google-cloud-bigqueryconnection-bom/pom.xml [ci skip]
* chore: updated google-cloud-bigqueryconnection/pom.xml [ci skip]
* chore: updated grpc-google-cloud-bigqueryconnection-v1/pom.xml [ci skip]
* chore: updated grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml [ci skip]
* chore: updated pom.xml [ci skip]
* chore: updated proto-google-cloud-bigqueryconnection-v1/pom.xml [ci skip]
* chore: updated proto-google-cloud-bigqueryconnection-v1beta1/pom.xml [ci skip]
* chore: updated samples/snapshot/pom.xml
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
---
google-cloud-bigqueryconnection-bom/pom.xml | 12 ++++++------
google-cloud-bigqueryconnection/pom.xml | 4 ++--
grpc-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++--
grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml | 4 ++--
pom.xml | 12 ++++++------
proto-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++--
.../pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 10 +++++-----
9 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml
index 489a2d4a..ee268a8a 100644
--- a/google-cloud-bigqueryconnection-bom/pom.xml
+++ b/google-cloud-bigqueryconnection-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection-bom
- 0.3.2
+ 0.3.3-SNAPSHOT
pom
com.google.cloud
@@ -64,27 +64,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml
index 5cd35e87..2b22dbb7 100644
--- a/google-cloud-bigqueryconnection/pom.xml
+++ b/google-cloud-bigqueryconnection/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.2
+ 0.3.3-SNAPSHOT
jar
Google Cloud BigQuery Connections
https://github.com/googleapis/java-bigqueryconnection
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.2
+ 0.3.3-SNAPSHOT
google-cloud-bigqueryconnection
diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
index 741865e1..e56eaadf 100644
--- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
grpc-google-cloud-bigqueryconnection-v1
GRPC library for grpc-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 0466276b..f3d250be 100644
--- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
grpc-google-cloud-bigqueryconnection-v1beta1
GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index 9b9340ae..179ca34e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
pom
- 0.3.2
+ 0.3.3-SNAPSHOT
Google Cloud BigQuery Connections Parent
https://github.com/googleapis/java-bigqueryconnection
@@ -70,27 +70,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml
index d0767710..5af126dc 100644
--- a/proto-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.2
+ 0.3.3-SNAPSHOT
proto-google-cloud-bigqueryconnection-v1
PROTO library for proto-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 2f391775..2f170808 100644
--- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.2
+ 0.3.3-SNAPSHOT
proto-google-cloud-bigqueryconnection-v1beta1
PROTO library for proto-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 14329f62..ce19cd37 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.2
+ 0.3.3-SNAPSHOT
diff --git a/versions.txt b/versions.txt
index ae4182e5..9636ef84 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
# Format:
# module:released-version:current-version
-google-cloud-bigqueryconnection:0.3.2:0.3.2
-proto-google-cloud-bigqueryconnection-v1:0.3.2:0.3.2
-grpc-google-cloud-bigqueryconnection-v1:0.3.2:0.3.2
-proto-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.2
-grpc-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.2
\ No newline at end of file
+google-cloud-bigqueryconnection:0.3.2:0.3.3-SNAPSHOT
+proto-google-cloud-bigqueryconnection-v1:0.3.2:0.3.3-SNAPSHOT
+grpc-google-cloud-bigqueryconnection-v1:0.3.2:0.3.3-SNAPSHOT
+proto-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.3-SNAPSHOT
+grpc-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.3-SNAPSHOT
\ No newline at end of file
From fdd3cbb29a722dc278eaa64ff46b477e6e3f9559 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 12 Aug 2020 08:28:35 -0700
Subject: [PATCH 02/10] chore: regen readme(#107)
autosynth cannot find the source of changes triggered by earlier changes in this
repository, or by version upgrades to tools such as linters.
---
README.md | 4 ++--
synth.metadata | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 886d3b7d..108abf0f 100644
--- a/README.md
+++ b/README.md
@@ -29,11 +29,11 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-bigqueryconnection:0.3.2'
+compile 'com.google.cloud:google-cloud-bigqueryconnection:0.3.1'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.3.2"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.3.1"
```
[//]: # ({x-version-update-end})
diff --git a/synth.metadata b/synth.metadata
index e53fc62f..cd8151de 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "a2ce5c715265dc0fc60f48d96359e4cb5b4156d5"
+ "sha": "3a9ea21bef62444a13529af381e81814a2cdb784"
}
},
{
From 04e333805e7c833dc11e1322fecc5108f775a3c0 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 14 Aug 2020 04:26:21 +0200
Subject: [PATCH 03/10] chore(deps): update dependency
com.google.cloud:libraries-bom to v9 (#109)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `8.1.0` -> `9.0.0` |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-bigqueryconnection).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 9faba04a..f8e7edab 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
libraries-bom
- 8.1.0
+ 9.0.0
pom
import
From 8308c17dc85a2c7c5c41218596a1f88c5fcec592 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 17 Aug 2020 17:53:34 +0200
Subject: [PATCH 04/10] chore(deps): update dependency
com.google.cloud:libraries-bom to v9.1.0 (#110)
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index f8e7edab..13ae0dcc 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
libraries-bom
- 9.0.0
+ 9.1.0
pom
import
From 3c7f0e89e111ec3a519f9dd19fec6fb33174142b Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 20 Aug 2020 15:38:24 -0700
Subject: [PATCH 05/10] samples: add presubmit lint check (#113)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/a79f8a17-dbb5-42d4-99e9-73d2b5ffda4d/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/9602086c6c5b05db77950c7f7495a2a3868f3537
Source-Link: https://github.com/googleapis/synthtool/commit/c3caf0704f25a0c365f1c315e804a30b87c62a75
---
.github/workflows/samples.yaml | 14 ++++++++++++++
synth.metadata | 5 +++--
2 files changed, 17 insertions(+), 2 deletions(-)
create mode 100644 .github/workflows/samples.yaml
diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml
new file mode 100644
index 00000000..a1d50073
--- /dev/null
+++ b/.github/workflows/samples.yaml
@@ -0,0 +1,14 @@
+on:
+ pull_request:
+name: samples
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 8
+ - name: Run checkstyle
+ run: mvn -P lint --quiet --batch-mode checkstyle:check
+ working-directory: samples/snippets
diff --git a/synth.metadata b/synth.metadata
index cd8151de..8d041be1 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "3a9ea21bef62444a13529af381e81814a2cdb784"
+ "sha": "8308c17dc85a2c7c5c41218596a1f88c5fcec592"
}
},
{
@@ -27,7 +27,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1"
+ "sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
}
}
],
@@ -60,6 +60,7 @@
".github/release-please.yml",
".github/trusted-contribution.yml",
".github/workflows/ci.yaml",
+ ".github/workflows/samples.yaml",
".kokoro/build.bat",
".kokoro/build.sh",
".kokoro/coerce_logs.sh",
From 97512a8abe23ea40206ab835a17602436c8b9ccf Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 26 Aug 2020 08:44:04 -0700
Subject: [PATCH 06/10] fix: temporarily disable reporting to unblock releases
(#114)
Source-Author: Stephanie Wang
Source-Date: Tue Aug 25 13:05:26 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 968465a1cad496e1292ef4584a054a35f756ff94
Source-Link: https://github.com/googleapis/synthtool/commit/968465a1cad496e1292ef4584a054a35f756ff94
---
.kokoro/release/stage.sh | 5 +++--
synth.metadata | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh
index 3c482cbc..d19191fc 100755
--- a/.kokoro/release/stage.sh
+++ b/.kokoro/release/stage.sh
@@ -16,8 +16,9 @@
set -eo pipefail
# Start the releasetool reporter
-python3 -m pip install gcp-releasetool
-python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
+# Disable reporting due to issue observed with Kokoro blocking releases
+# python3 -m pip install gcp-releasetool
+# python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
source $(dirname "$0")/common.sh
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
diff --git a/synth.metadata b/synth.metadata
index 8d041be1..b6d39ae0 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "8308c17dc85a2c7c5c41218596a1f88c5fcec592"
+ "sha": "3c7f0e89e111ec3a519f9dd19fec6fb33174142b"
}
},
{
@@ -27,7 +27,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
+ "sha": "968465a1cad496e1292ef4584a054a35f756ff94"
}
}
],
From 5a4a86478a82ba883e2fda7ae40250d55bd2b37a Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 27 Aug 2020 09:27:18 -0700
Subject: [PATCH 07/10] build(java): switch to release-publish app for
notifying GitHub of release status
Source-Author: Jeff Ching
Source-Date: Wed Aug 26 21:48:06 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 019c7168faa0e56619f792693a8acdb30d6de19b
Source-Link: https://github.com/googleapis/synthtool/commit/019c7168faa0e56619f792693a8acdb30d6de19b
---
.kokoro/release/stage.cfg | 31 +++----------------------------
.kokoro/release/stage.sh | 5 ++---
synth.metadata | 4 ++--
3 files changed, 7 insertions(+), 33 deletions(-)
diff --git a/.kokoro/release/stage.cfg b/.kokoro/release/stage.cfg
index ed1cc108..730b0617 100644
--- a/.kokoro/release/stage.cfg
+++ b/.kokoro/release/stage.cfg
@@ -13,32 +13,7 @@ action {
}
}
-# Fetch the token needed for reporting release status to GitHub
-before_action {
- fetch_keystore {
- keystore_resource {
- keystore_config_id: 73713
- keyname: "yoshi-automation-github-key"
- }
- }
-}
-
-# Fetch magictoken to use with Magic Github Proxy
-before_action {
- fetch_keystore {
- keystore_resource {
- keystore_config_id: 73713
- keyname: "releasetool-magictoken"
- }
- }
-}
-
-# Fetch api key to use with Magic Github Proxy
-before_action {
- fetch_keystore {
- keystore_resource {
- keystore_config_id: 73713
- keyname: "magic-github-proxy-api-key"
- }
- }
+env_vars: {
+ key: "SECRET_MANAGER_KEYS"
+ value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}
diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh
index d19191fc..3c482cbc 100755
--- a/.kokoro/release/stage.sh
+++ b/.kokoro/release/stage.sh
@@ -16,9 +16,8 @@
set -eo pipefail
# Start the releasetool reporter
-# Disable reporting due to issue observed with Kokoro blocking releases
-# python3 -m pip install gcp-releasetool
-# python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
+python3 -m pip install gcp-releasetool
+python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
source $(dirname "$0")/common.sh
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
diff --git a/synth.metadata b/synth.metadata
index b6d39ae0..b0645f70 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "3c7f0e89e111ec3a519f9dd19fec6fb33174142b"
+ "sha": "97512a8abe23ea40206ab835a17602436c8b9ccf"
}
},
{
@@ -27,7 +27,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "968465a1cad496e1292ef4584a054a35f756ff94"
+ "sha": "019c7168faa0e56619f792693a8acdb30d6de19b"
}
}
],
From ffc36620ab95169d325da5f824dbb5e7c8858998 Mon Sep 17 00:00:00 2001
From: Stephanie Wang
Date: Mon, 31 Aug 2020 15:06:21 -0400
Subject: [PATCH 08/10] chore: auto-approve eligible release PRs (#118)
* chore: auto-approve eligible release PRs
* update based on comments
---
.github/workflows/auto-release.yaml | 64 +++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 .github/workflows/auto-release.yaml
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
new file mode 100644
index 00000000..eaa38fce
--- /dev/null
+++ b/.github/workflows/auto-release.yaml
@@ -0,0 +1,64 @@
+on:
+ pull_request:
+name: auto-release
+jobs:
+ approve:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/github-script@v3.0.0
+ with:
+ github-token: ${{secrets.GITHUB_TOKEN}}
+ script: |
+ // only approve PRs from release-please[bot]
+ if (context.payload.sender.login != "release-please[bot]") {
+ return;
+ }
+
+ // only approve PRs like "chore: release "
+ if (!context.payload.pull_request.title.startsWith("chore: release")) {
+ return;
+ }
+
+ // trigger auto-release when
+ // 1) there are dependency updates only
+ // 2) there are no open dependency update PRs in this repo (to avoid multiple releases)
+ if (
+ context.payload.pull_request.body.contains("Fix") ||
+ context.payload.pull_request.body.contains("Build") ||
+ context.payload.pull_request.body.contains("BREAKING CHANGES") ||
+ context.payload.pull_request.body.contains("Features")
+ ) {
+ return;
+ }
+
+ // list all open pull requests
+ const result = github.pulls.list({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ state: 'open'
+ });
+ const pulls = await github.paginate(result);
+
+ // return if there are open depedency update PRs
+ for (const pull of pulls) {
+ if (pull.title.startWith("deps: update dependency ")) {
+ return;
+ }
+ }
+
+ // approve release PR
+ await github.pulls.createReview({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: 'Rubber stamped release!',
+ pull_number: context.payload.pull_request.number,
+ event: 'APPROVE'
+ });
+
+ // attach kokoro:force-run and automerge labels
+ await github.issues.addLabels({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.payload.pull_request.number,
+ labels: ["kokoro:force-run", "automerge"]
+ });
\ No newline at end of file
From 38baa10f2e056d429a433a6c7d7a76a7be5a0d3b Mon Sep 17 00:00:00 2001
From: Stephanie Wang
Date: Mon, 31 Aug 2020 15:23:35 -0400
Subject: [PATCH 09/10] chore: fix javascript method name (#119)
---
.github/workflows/auto-release.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
index eaa38fce..7c2cdc02 100644
--- a/.github/workflows/auto-release.yaml
+++ b/.github/workflows/auto-release.yaml
@@ -23,10 +23,10 @@ jobs:
// 1) there are dependency updates only
// 2) there are no open dependency update PRs in this repo (to avoid multiple releases)
if (
- context.payload.pull_request.body.contains("Fix") ||
- context.payload.pull_request.body.contains("Build") ||
- context.payload.pull_request.body.contains("BREAKING CHANGES") ||
- context.payload.pull_request.body.contains("Features")
+ context.payload.pull_request.body.includes("Fix") ||
+ context.payload.pull_request.body.includes("Build") ||
+ context.payload.pull_request.body.includes("BREAKING CHANGES") ||
+ context.payload.pull_request.body.includes("Features")
) {
return;
}
From 2cdb961fd6eecb5aa77ef0c14ed67fb209de36e9 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 31 Aug 2020 19:38:02 +0000
Subject: [PATCH 10/10] chore: release 0.3.3 (#120)
:robot: I have created a release \*beep\* \*boop\*
---
### [0.3.3](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.3.2...v0.3.3) (2020-08-31)
### Bug Fixes
* temporarily disable reporting to unblock releases ([#114](https://www.github.com/googleapis/java-bigqueryconnection/issues/114)) ([97512a8](https://www.github.com/googleapis/java-bigqueryconnection/commit/97512a8abe23ea40206ab835a17602436c8b9ccf))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please).
---
CHANGELOG.md | 7 +++++++
README.md | 4 ++--
google-cloud-bigqueryconnection-bom/pom.xml | 12 ++++++------
google-cloud-bigqueryconnection/pom.xml | 4 ++--
grpc-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++--
grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml | 4 ++--
pom.xml | 12 ++++++------
proto-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++--
.../pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 10 +++++-----
11 files changed, 37 insertions(+), 30 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8ecb9868..726f0bc6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [0.3.3](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.3.2...v0.3.3) (2020-08-31)
+
+
+### Bug Fixes
+
+* temporarily disable reporting to unblock releases ([#114](https://www.github.com/googleapis/java-bigqueryconnection/issues/114)) ([97512a8](https://www.github.com/googleapis/java-bigqueryconnection/commit/97512a8abe23ea40206ab835a17602436c8b9ccf))
+
### [0.3.2](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.3.1...v0.3.2) (2020-08-07)
diff --git a/README.md b/README.md
index 108abf0f..e5c1941f 100644
--- a/README.md
+++ b/README.md
@@ -29,11 +29,11 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-bigqueryconnection:0.3.1'
+compile 'com.google.cloud:google-cloud-bigqueryconnection:0.3.3'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.3.1"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.3.3"
```
[//]: # ({x-version-update-end})
diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml
index ee268a8a..a8b11329 100644
--- a/google-cloud-bigqueryconnection-bom/pom.xml
+++ b/google-cloud-bigqueryconnection-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection-bom
- 0.3.3-SNAPSHOT
+ 0.3.3
pom
com.google.cloud
@@ -64,27 +64,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml
index 2b22dbb7..885c0030 100644
--- a/google-cloud-bigqueryconnection/pom.xml
+++ b/google-cloud-bigqueryconnection/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.3-SNAPSHOT
+ 0.3.3
jar
Google Cloud BigQuery Connections
https://github.com/googleapis/java-bigqueryconnection
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.3-SNAPSHOT
+ 0.3.3
google-cloud-bigqueryconnection
diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
index e56eaadf..db2d2cc2 100644
--- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
grpc-google-cloud-bigqueryconnection-v1
GRPC library for grpc-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
index f3d250be..3616dcd2 100644
--- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
grpc-google-cloud-bigqueryconnection-v1beta1
GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/pom.xml b/pom.xml
index 179ca34e..bea4e95a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
pom
- 0.3.3-SNAPSHOT
+ 0.3.3
Google Cloud BigQuery Connections Parent
https://github.com/googleapis/java-bigqueryconnection
@@ -70,27 +70,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml
index 5af126dc..6ba79b01 100644
--- a/proto-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 0.3.3-SNAPSHOT
+ 0.3.3
proto-google-cloud-bigqueryconnection-v1
PROTO library for proto-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 2f170808..f20187ce 100644
--- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.3.3-SNAPSHOT
+ 0.3.3
proto-google-cloud-bigqueryconnection-v1beta1
PROTO library for proto-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index ce19cd37..7caa8031 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-bigqueryconnection
- 0.3.3-SNAPSHOT
+ 0.3.3
diff --git a/versions.txt b/versions.txt
index 9636ef84..1961d852 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
# Format:
# module:released-version:current-version
-google-cloud-bigqueryconnection:0.3.2:0.3.3-SNAPSHOT
-proto-google-cloud-bigqueryconnection-v1:0.3.2:0.3.3-SNAPSHOT
-grpc-google-cloud-bigqueryconnection-v1:0.3.2:0.3.3-SNAPSHOT
-proto-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.3-SNAPSHOT
-grpc-google-cloud-bigqueryconnection-v1beta1:0.3.2:0.3.3-SNAPSHOT
\ No newline at end of file
+google-cloud-bigqueryconnection:0.3.3:0.3.3
+proto-google-cloud-bigqueryconnection-v1:0.3.3:0.3.3
+grpc-google-cloud-bigqueryconnection-v1:0.3.3:0.3.3
+proto-google-cloud-bigqueryconnection-v1beta1:0.3.3:0.3.3
+grpc-google-cloud-bigqueryconnection-v1beta1:0.3.3:0.3.3
\ No newline at end of file