From 5e88ea011ebc00577061c28d9df12a240dc64919 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Wed, 12 Aug 2020 15:10:34 +0000
Subject: [PATCH 01/11] chore: release 0.1.2-SNAPSHOT (#26)
:robot: I have created a release \*beep\* \*boop\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please).
---
google-analytics-admin-bom/pom.xml | 8 ++++----
google-analytics-admin/pom.xml | 4 ++--
grpc-google-analytics-admin-v1alpha/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-analytics-admin-v1alpha/pom.xml | 4 ++--
versions.txt | 6 +++---
6 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/google-analytics-admin-bom/pom.xml b/google-analytics-admin-bom/pom.xml
index 4f59291d..92566c4b 100644
--- a/google-analytics-admin-bom/pom.xml
+++ b/google-analytics-admin-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.analytics
google-analytics-admin-bom
- 0.1.1
+ 0.1.2-SNAPSHOT
pom
com.google.cloud
@@ -68,17 +68,17 @@
com.google.analytics
google-analytics-admin
- 0.1.1
+ 0.1.2-SNAPSHOT
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
diff --git a/google-analytics-admin/pom.xml b/google-analytics-admin/pom.xml
index 05275359..46aa4855 100644
--- a/google-analytics-admin/pom.xml
+++ b/google-analytics-admin/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.analytics
google-analytics-admin
- 0.1.1
+ 0.1.2-SNAPSHOT
jar
Google Analytics Admin
https://github.com/googleapis/java-analytics-admin
@@ -11,7 +11,7 @@
com.google.analytics
google-analytics-admin-parent
- 0.1.1
+ 0.1.2-SNAPSHOT
google-analytics-admin
diff --git a/grpc-google-analytics-admin-v1alpha/pom.xml b/grpc-google-analytics-admin-v1alpha/pom.xml
index b6cc9e57..d01af026 100644
--- a/grpc-google-analytics-admin-v1alpha/pom.xml
+++ b/grpc-google-analytics-admin-v1alpha/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
grpc-google-analytics-admin-v1alpha
GRPC library for grpc-google-analytics-admin-v1alpha
com.google.analytics
google-analytics-admin-parent
- 0.1.1
+ 0.1.2-SNAPSHOT
diff --git a/pom.xml b/pom.xml
index d98efa87..90af1fa9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.analytics
google-analytics-admin-parent
pom
- 0.1.1
+ 0.1.2-SNAPSHOT
Google Analytics Admin Parent
https://github.com/googleapis/java-analytics-admin
@@ -70,17 +70,17 @@
com.google.analytics
google-analytics-admin
- 0.1.1
+ 0.1.2-SNAPSHOT
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
diff --git a/proto-google-analytics-admin-v1alpha/pom.xml b/proto-google-analytics-admin-v1alpha/pom.xml
index 75405ab7..0f65b796 100644
--- a/proto-google-analytics-admin-v1alpha/pom.xml
+++ b/proto-google-analytics-admin-v1alpha/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.1
+ 0.1.2-SNAPSHOT
proto-google-analytics-admin-v1alpha
PROTO library for proto-google-analytics-admin-v1alpha
com.google.analytics
google-analytics-admin-parent
- 0.1.1
+ 0.1.2-SNAPSHOT
diff --git a/versions.txt b/versions.txt
index 0da9a109..98990f90 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-analytics-admin:0.1.1:0.1.1
-proto-google-analytics-admin-v1alpha:0.1.1:0.1.1
-grpc-google-analytics-admin-v1alpha:0.1.1:0.1.1
\ No newline at end of file
+google-analytics-admin:0.1.1:0.1.2-SNAPSHOT
+proto-google-analytics-admin-v1alpha:0.1.1:0.1.2-SNAPSHOT
+grpc-google-analytics-admin-v1alpha:0.1.1:0.1.2-SNAPSHOT
\ No newline at end of file
From 1423cee4c475b5a96bb63dd7d6ac4ea496d252bd Mon Sep 17 00:00:00 2001
From: ikuleshov
Date: Wed, 12 Aug 2020 12:16:35 -0700
Subject: [PATCH 02/11] samples: add quickstart sample app (#22)
* fix: updated maven group id to match the published library artifact
* docs: added a quick start sample app
* docs(samples): sample updated to match the style guide
* docs(samples): sample updated to match the style guide
* docs(samples): sample updated to match the style guide
---
samples/install-without-bom/pom.xml | 84 -----------------
samples/pom.xml | 3 +-
samples/snapshot/pom.xml | 4 +-
samples/snippets/pom.xml | 18 +---
.../analyticsadmin/QuickstartSample.java | 90 +++++++++++++++++++
.../analyticsadmin/QuickstartSampleTest.java | 60 +++++++++++++
6 files changed, 155 insertions(+), 104 deletions(-)
delete mode 100644 samples/install-without-bom/pom.xml
create mode 100644 samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java
create mode 100644 samples/snippets/src/test/java/com/example/analyticsadmin/QuickstartSampleTest.java
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
deleted file mode 100644
index 34399ae3..00000000
--- a/samples/install-without-bom/pom.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
- 4.0.0
- com.google.cloud
- analytics-admin-install-without-bom
- jar
- Google Analytics Admin Install Without Bom
- https://github.com/googleapis/java-analytics-admin
-
-
-
- com.google.cloud.samples
- shared-configuration
- 1.0.18
-
-
-
- 1.8
- 1.8
- UTF-8
-
-
-
-
-
-
- com.google.analytics
- google-analytics-admin
- 0.1.0
-
-
-
-
- junit
- junit
- 4.13
- test
-
-
- com.google.truth
- truth
- 1.0.1
- test
-
-
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
- 3.2.0
-
-
- add-snippets-source
-
- add-source
-
-
-
- ../snippets/src/main/java
-
-
-
-
- add-snippets-tests
-
- add-test-source
-
-
-
- ../snippets/src/test/java
-
-
-
-
-
-
-
-
diff --git a/samples/pom.xml b/samples/pom.xml
index 24edad23..5c579328 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- com.google.cloud
+ com.google.analytics
google-analytics-admin-samples
0.0.1-SNAPSHOT
pom
@@ -28,7 +28,6 @@
- install-without-bom
snapshot
snippets
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 3aab9258..59e02dc2 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- com.google.cloud
+ com.google.analytics
analytics-admin-snapshot
jar
Google Analytics Admin Snapshot Samples
@@ -28,7 +28,7 @@
com.google.analytics
google-analytics-admin
- 0.1.0
+ 0.1.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index ec103b3c..3c2a7b20 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- com.google.cloud
+ com.google.analytics
analytics-admin-snippets
jar
Google Analytics Admin Snippets
@@ -23,26 +23,12 @@
UTF-8
-
-
-
-
-
- com.google.cloud
- libraries-bom
- 8.1.0
- pom
- import
-
-
-
-
com.google.analytics
google-analytics-admin
+ 0.1.0
-
junit
diff --git a/samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java b/samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java
new file mode 100644
index 00000000..e07f59bd
--- /dev/null
+++ b/samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.example.analytics;
+
+/* This application demonstrates the usage of the Analytics Admin API using
+ service account credentials. For more information on service accounts, see
+ https://cloud.google.com/iam/docs/understanding-service-accounts
+
+ The following document provides instructions on setting service account
+ credentials for your application:
+ https://cloud.google.com/docs/authentication/production
+
+ In a nutshell, you need to:
+
+ 1. Create a service account and download the key JSON file.
+ https://cloud.google.com/docs/authentication/production#creating_a_service_account
+
+ 2. Provide service account credentials using one of the following options:
+ - set the GOOGLE_APPLICATION_CREDENTIALS environment variable, the API
+ client will use the value of this variable to find the service account key
+ JSON file.
+
+ https://cloud.google.com/docs/authentication/production#setting_the_environment_variable
+
+ OR
+
+ - manually pass the path to the service account key JSON file to the API client
+ by specifying the keyFilename parameter in the constructor.
+ https://cloud.google.com/docs/authentication/production#passing_the_path_to_the_service_account_key_in_code
+
+ To run this sample using Maven:
+ cd java-analytics-admin/samples/snippets
+ mvn exec:java -Dexec.mainClass="com.example.analytics.QuickstartSample"
+ */
+
+// [START analytics_admin_quickstart]
+
+import com.google.analytics.admin.v1alpha.Account;
+import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient;
+import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPage;
+import com.google.analytics.admin.v1alpha.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
+import com.google.analytics.admin.v1alpha.ListAccountsRequest;
+
+public class QuickstartSample {
+
+ public static void main(String... args) throws Exception {
+ listAccounts();
+ }
+
+
+ // This is an example snippet that calls the Google Analytics Admin API and lists all Google
+ // Analytics accounts available to the authenticated user.
+ static void listAccounts() throws Exception {
+ // Instantiates a client using default credentials.
+ // See https://cloud.google.com/docs/authentication/production for more information
+ // about managing credentials.
+ try (AnalyticsAdminServiceClient analyticsAdmin = AnalyticsAdminServiceClient.create()) {
+ // Calls listAccounts() method of the Google Analytics Admin API and prints
+ // the response for each account.
+ ListAccountsPagedResponse response = analyticsAdmin
+ .listAccounts(ListAccountsRequest.newBuilder().build());
+ for (ListAccountsPage page : response.iteratePages()) {
+ for (Account account : page.iterateAll()) {
+ System.out.printf("Account name: %s%n", account.getName());
+ System.out.printf("Display name: %s%n", account.getDisplayName());
+ System.out.printf("Country code: %s%n", account.getCountryCode());
+ System.out.printf("Create time: %s%n", account.getCreateTime().getSeconds());
+ System.out.printf("Update time: %s%n", account.getUpdateTime().getSeconds());
+ System.out.println();
+ }
+ }
+ }
+ }
+}
+
+// [END analytics_admin_quickstart]
diff --git a/samples/snippets/src/test/java/com/example/analyticsadmin/QuickstartSampleTest.java b/samples/snippets/src/test/java/com/example/analyticsadmin/QuickstartSampleTest.java
new file mode 100644
index 00000000..7bc63b03
--- /dev/null
+++ b/samples/snippets/src/test/java/com/example/analyticsadmin/QuickstartSampleTest.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.example.analytics;
+
+import static com.google.common.truth.Truth.assertThat;
+
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+/**
+ * Tests for quickstart sample.
+ */
+@RunWith(JUnit4.class)
+@SuppressWarnings("checkstyle:abbreviationaswordinname")
+public class QuickstartSampleTest {
+
+ private ByteArrayOutputStream bout;
+ private PrintStream out;
+
+ @Before
+ public void setUp() {
+ bout = new ByteArrayOutputStream();
+ out = new PrintStream(bout);
+ System.setOut(out);
+ }
+
+ @After
+ public void tearDown() {
+ System.setOut(null);
+ }
+
+ @Test
+ public void testQuickstart() throws Exception {
+ // Act
+ QuickstartSample.main();
+
+ // Assert
+ String got = bout.toString();
+ assertThat(got).contains("Account name:");
+ }
+}
\ No newline at end of file
From 9c4c45c2d6e60aad61a800fafec343011fdef926 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 12 Aug 2020 21:43:45 +0200
Subject: [PATCH 03/11] chore(deps): update dependency
com.google.analytics:google-analytics-admin to v0.1.1 (#25)
---
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 59e02dc2..2a6ff4e8 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.analytics
google-analytics-admin
- 0.1.0
+ 0.1.1
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 3c2a7b20..8e679222 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -27,7 +27,7 @@
com.google.analytics
google-analytics-admin
- 0.1.0
+ 0.1.1
From 5c4e487f0731eae1013240697a3b542aca724168 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 13 Aug 2020 10:46:12 -0700
Subject: [PATCH 04/11] chore: regenerate README versions (#28)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/648af215-63ce-4790-93d6-b59d591dbfff/targets
- [ ] To automatically regenerate this PR, check this box.
---
README.md | 12 ++++-
samples/install-without-bom/pom.xml | 84 +++++++++++++++++++++++++++++
synth.metadata | 2 +-
3 files changed, 96 insertions(+), 2 deletions(-)
create mode 100644 samples/install-without-bom/pom.xml
diff --git a/README.md b/README.md
index 27c7ff76..4e8d0c8f 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ If you are using Maven, add this to your pom.xml file:
com.google.analytics
google-analytics-admin
- 0.0.0
+ 0.1.1
```
@@ -67,6 +67,16 @@ use this Analytics Admin Client Library.
+## Samples
+
+Samples are in the [`samples/`](https://github.com/googleapis/java-analytics-admin/tree/master/samples) directory. The samples' `README.md`
+has instructions for running the samples.
+
+| Sample | Source Code | Try it |
+| --------------------------- | --------------------------------- | ------ |
+| Quickstart Sample | [source code](https://github.com/googleapis/java-analytics-admin/blob/master/samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-analytics-admin&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/analyticsadmin/QuickstartSample.java) |
+
+
## Troubleshooting
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
new file mode 100644
index 00000000..9a59cc1b
--- /dev/null
+++ b/samples/install-without-bom/pom.xml
@@ -0,0 +1,84 @@
+
+
+ 4.0.0
+ com.google.cloud
+ analytics-admin-install-without-bom
+ jar
+ Google Analytics Admin Install Without Bom
+ https://github.com/googleapis/java-analytics-admin
+
+
+
+ com.google.cloud.samples
+ shared-configuration
+ 1.0.12
+
+
+
+ 1.8
+ 1.8
+ UTF-8
+
+
+
+
+
+
+ com.google.analytics
+ google-analytics-admin
+ 0.1.1
+
+
+
+
+ junit
+ junit
+ 4.13
+ test
+
+
+ com.google.truth
+ truth
+ 1.0.1
+ test
+
+
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 3.1.0
+
+
+ add-snippets-source
+
+ add-source
+
+
+
+ ../snippets/src/main/java
+
+
+
+
+ add-snippets-tests
+
+ add-test-source
+
+
+
+ ../snippets/src/test/java
+
+
+
+
+
+
+
+
diff --git a/synth.metadata b/synth.metadata
index 041c3105..1b13b1bd 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-analytics-admin.git",
- "sha": "dde01446cb6e73c568f1f778a3b03427ad9135ab"
+ "sha": "9c4c45c2d6e60aad61a800fafec343011fdef926"
}
},
{
From 0b7af86cc45dc4c4ec5ea45cbeb02f73ef715f78 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 20 Aug 2020 15:46:58 -0700
Subject: [PATCH 05/11] samples: add presubmit lint check
* chore(java_templates): add lint/static analysis presubmit checks for samples
* chore(java_templates): add lint/static analysis presubmit checks for samples
* chore: fix trailing whitespace
Source-Author: Jeff Ching
Source-Date: Mon Aug 17 14:29:16 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: c3caf0704f25a0c365f1c315e804a30b87c62a75
Source-Link: https://github.com/googleapis/synthtool/commit/c3caf0704f25a0c365f1c315e804a30b87c62a75
* chore(java_templates): stop running pmd/spotbugs checks for samples
This was creating too much noise. We will revisit with other options and/or tune these checks.
Source-Author: Jeff Ching
Source-Date: Wed Aug 19 12:26:49 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 9602086c6c5b05db77950c7f7495a2a3868f3537
Source-Link: https://github.com/googleapis/synthtool/commit/9602086c6c5b05db77950c7f7495a2a3868f3537
---
.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 1b13b1bd..f42bf769 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-analytics-admin.git",
- "sha": "9c4c45c2d6e60aad61a800fafec343011fdef926"
+ "sha": "5c4e487f0731eae1013240697a3b542aca724168"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1"
+ "sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
}
}
],
@@ -43,6 +43,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 5a902f01f955cf2cd8f2c76b97f3c24cbe1d8a66 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 26 Aug 2020 09:32:11 -0700
Subject: [PATCH 06/11] build: temporarily disable reporting to unblock
releases
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 f42bf769..cd1fd4e7 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-analytics-admin.git",
- "sha": "5c4e487f0731eae1013240697a3b542aca724168"
+ "sha": "0b7af86cc45dc4c4ec5ea45cbeb02f73ef715f78"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "9602086c6c5b05db77950c7f7495a2a3868f3537"
+ "sha": "968465a1cad496e1292ef4584a054a35f756ff94"
}
}
],
From 2df0f395de8883301ad0f159f94af2a53152c7f0 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 27 Aug 2020 09:27:34 -0700
Subject: [PATCH 07/11] 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 d4d9ca18..868f59ab 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 cd1fd4e7..2539cabb 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-analytics-admin.git",
- "sha": "0b7af86cc45dc4c4ec5ea45cbeb02f73ef715f78"
+ "sha": "5a902f01f955cf2cd8f2c76b97f3c24cbe1d8a66"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "968465a1cad496e1292ef4584a054a35f756ff94"
+ "sha": "019c7168faa0e56619f792693a8acdb30d6de19b"
}
}
],
From 52df7a73bb0244e557f714c713d9eb7a700c6a4f Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 8 Sep 2020 21:26:10 +0200
Subject: [PATCH 08/11] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v0.9.0 (#34)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.8.6` -> `0.9.0` |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v0.9.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#090-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare086v090-2020-08-31)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.6...v0.9.0)
##### Bug Fixes
- temporarily disable reporting to unblock releases ([#129](https://www.github.com/googleapis/java-shared-dependencies/issues/129)) ([7fff6f2](https://www.github.com/googleapis/java-shared-dependencies/commit/7fff6f2c94a19ba998d8cd47e8be5a6333808df8))
##### Dependencies
- update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#126](https://www.github.com/googleapis/java-shared-dependencies/issues/126)) ([908063f](https://www.github.com/googleapis/java-shared-dependencies/commit/908063f9b820dd3195b15537189e45be0d4acbbb))
- update dependency io.grpc:grpc-bom to v1.31.1 ([#124](https://www.github.com/googleapis/java-shared-dependencies/issues/124)) ([553a339](https://www.github.com/googleapis/java-shared-dependencies/commit/553a3393f5bede0e90e16e2d0d87daa2b936ab32))
- update google.common-protos.version to v1.18.1 ([#119](https://www.github.com/googleapis/java-shared-dependencies/issues/119)) ([05ad27e](https://www.github.com/googleapis/java-shared-dependencies/commit/05ad27e35fe082e148d377315b10943b187b5670))
- update google.core.version to v1.93.8 ([f72cef3](https://www.github.com/googleapis/java-shared-dependencies/commit/f72cef3d78a036e2b2434bf08b0a75d57b2fa139))
- update iam.version to v0.15.0 ([#118](https://www.github.com/googleapis/java-shared-dependencies/issues/118)) ([1409a16](https://www.github.com/googleapis/java-shared-dependencies/commit/1409a16826d3fd4a5d9cbcbe46ea4b4af8687a5c))
- update iam.version to v1 (major) ([#120](https://www.github.com/googleapis/java-shared-dependencies/issues/120)) ([a6243a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a6243a02129e42fec804b5769fb8e3f334ba84ce))
##### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07)
##### Dependencies
- update gax to v1.58.2 ([#115](https://www.github.com/googleapis/java-shared-dependencies/issues/115)) ([84b48b4](https://www.github.com/googleapis/java-shared-dependencies/commit/84b48b4e77a4b5b4a2db6030609abe241d5ee2e1))
##### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07)
##### Dependencies
- update gax to v1.58.1 ([#111](https://www.github.com/googleapis/java-shared-dependencies/issues/111)) ([93a1691](https://www.github.com/googleapis/java-shared-dependencies/commit/93a16915b863a610ffdabe0e23aec58c4ae5f4f1))
##### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04)
##### Dependencies
- update core dependencies ([#104](https://www.github.com/googleapis/java-shared-dependencies/issues/104)) ([5046818](https://www.github.com/googleapis/java-shared-dependencies/commit/504681803d2bba888404acffe9a8853746501358))
- update dependency com.google.api:api-common to v1.10.0 ([#101](https://www.github.com/googleapis/java-shared-dependencies/issues/101)) ([6472fac](https://www.github.com/googleapis/java-shared-dependencies/commit/6472face89700e3f2f982c04a5e88801876580be))
- update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#103](https://www.github.com/googleapis/java-shared-dependencies/issues/103)) ([885bd0e](https://www.github.com/googleapis/java-shared-dependencies/commit/885bd0ef3c9e344bd1fc60e0f3264995064001d9))
##### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09)
##### Dependencies
- update core dependencies ([#96](https://www.github.com/googleapis/java-shared-dependencies/issues/96)) ([978e69e](https://www.github.com/googleapis/java-shared-dependencies/commit/978e69e9b5999630354ea204c034be2d6b8a2d80))
- update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#99](https://www.github.com/googleapis/java-shared-dependencies/issues/99)) ([65c9cce](https://www.github.com/googleapis/java-shared-dependencies/commit/65c9ccea34275fa6f9599043d6e06df169bc433a))
- update dependency com.google.api:api-common to v1.9.3 ([#91](https://www.github.com/googleapis/java-shared-dependencies/issues/91)) ([2a23a50](https://www.github.com/googleapis/java-shared-dependencies/commit/2a23a50ee5c73b581a02171048e20b14f999949f))
##### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01)
##### Dependencies
- update dependency com.google.auth:google-auth-library-bom to v0.21.0 ([#86](https://www.github.com/googleapis/java-shared-dependencies/issues/86)) ([dc9d717](https://www.github.com/googleapis/java-shared-dependencies/commit/dc9d717fdec4f0962141ba34e98f5737ec3bc57a))
- update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#89](https://www.github.com/googleapis/java-shared-dependencies/issues/89)) ([12437d7](https://www.github.com/googleapis/java-shared-dependencies/commit/12437d7392a430299c3372d18d2650b62be60eaf))
- update dependency io.grpc:grpc-bom to v1.30.1 ([#82](https://www.github.com/googleapis/java-shared-dependencies/issues/82)) ([a5199a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a5199a02d5bde75e86349b37c1efae64a6379a40))
- update dependency io.grpc:grpc-bom to v1.30.2 ([#85](https://www.github.com/googleapis/java-shared-dependencies/issues/85)) ([084d18d](https://www.github.com/googleapis/java-shared-dependencies/commit/084d18daab010c6b0be04e67b42ca8ab8ba5f3d5))
##### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13)
##### Reverts
- Revert "feat: mark javax annotations scope as provided ([#70](https://togithub.com/googleapis/java-shared-dependencies/issues/70))" ([#75](https://togithub.com/googleapis/java-shared-dependencies/issues/75)) ([d2f23ec](https://www.github.com/googleapis/java-shared-dependencies/commit/d2f23ecae56a1ec07b1217f0fca5347dd0f0406b)), closes [#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70) [#75](https://www.github.com/googleapis/java-shared-dependencies/issues/75)
---
### 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#github/googleapis/java-analytics-admin).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 90af1fa9..d482e3a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 0.8.6
+ 0.9.0
pom
import
From c280fb4ec596270e7d7ef2927622c73bee95e9cd Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 10 Sep 2020 22:02:27 +0200
Subject: [PATCH 09/11] build(deps): update dependency
org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.1 (#35)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| org.apache.maven.plugins:maven-project-info-reports-plugin | patch | `3.1.0` -> `3.1.1` |
---
### 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#github/googleapis/java-analytics-admin).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index d482e3a5..08908df9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,7 +129,7 @@
org.apache.maven.plugins
maven-project-info-reports-plugin
- 3.1.0
+ 3.1.1
From add0f0a85bf29fff0b057499572e5e17c42b1bca Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 21 Sep 2020 14:46:06 -0700
Subject: [PATCH 10/11] build(ci): enable auto-release for
dependency-update-only releases
Automatically perform a Java client library release when:
1. Only dependency updates are going out in the release since any releases containing bug fixes, build changes or new features should be supervised;
2. There are no outstanding/open dependency update pull requests in the repo. This is to avoid multiple/redundant releases;
3. It is a SNAPSHOT release which is automatically generated post regular release -- this requires no human supervision.
Testing done in 5 java-bigquery* client library repos. Example:
[chore: release 0.3.4 ](https://github.com/googleapis/java-bigqueryconnection/pull/130)
[chore: release 0.3.5-SNAPSHOT](https://github.com/googleapis/java-bigqueryconnection/pull/131)
Source-Author: Stephanie Wang
Source-Date: Thu Sep 17 15:30:02 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 538a68019eb4a36a0cdfa4021f324dd01b784395
Source-Link: https://github.com/googleapis/synthtool/commit/538a68019eb4a36a0cdfa4021f324dd01b784395
---
.github/workflows/auto-release.yaml | 69 +++++++++++++++++++++++++++++
synth.metadata | 5 ++-
2 files changed, 72 insertions(+), 2 deletions(-)
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..d26427e4
--- /dev/null
+++ b/.github/workflows/auto-release.yaml
@@ -0,0 +1,69 @@
+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}}
+ debug: true
+ script: |
+ // only approve PRs from release-please[bot]
+ if (context.payload.pull_request.user.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) it is a SNAPSHOT release (auto-generated post regular release)
+ // 2) there are dependency updates only
+ // 3) there are no open dependency update PRs in this repo (to avoid multiple releases)
+ if (
+ context.payload.pull_request.body.includes("Fix") ||
+ context.payload.pull_request.body.includes("Build") ||
+ context.payload.pull_request.body.includes("Documentation") ||
+ context.payload.pull_request.body.includes("BREAKING CHANGES") ||
+ context.payload.pull_request.body.includes("Features")
+ ) {
+ console.log( "Not auto-releasing since it is not a dependency-update-only release." );
+ return;
+ }
+
+ const promise = github.pulls.list.endpoint({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ state: 'open'
+ });
+ const open_pulls = await github.paginate(promise)
+
+ if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) {
+ for ( const pull of open_pulls ) {
+ if ( pull.title.startsWith("deps: update dependency") ) {
+ console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." );
+ 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
diff --git a/synth.metadata b/synth.metadata
index 2539cabb..a69dfd73 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-analytics-admin.git",
- "sha": "5a902f01f955cf2cd8f2c76b97f3c24cbe1d8a66"
+ "sha": "c280fb4ec596270e7d7ef2927622c73bee95e9cd"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "019c7168faa0e56619f792693a8acdb30d6de19b"
+ "sha": "538a68019eb4a36a0cdfa4021f324dd01b784395"
}
}
],
@@ -42,6 +42,7 @@
".github/PULL_REQUEST_TEMPLATE.md",
".github/release-please.yml",
".github/trusted-contribution.yml",
+ ".github/workflows/auto-release.yaml",
".github/workflows/ci.yaml",
".github/workflows/samples.yaml",
".kokoro/build.bat",
From e481494e719d9ace7cc18eb3bd76f18066489615 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 21 Sep 2020 22:06:14 +0000
Subject: [PATCH 11/11] chore: release 0.1.2 (#36)
:robot: I have created a release \*beep\* \*boop\*
---
### [0.1.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.1...v0.1.2) (2020-09-21)
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#34](https://www.github.com/googleapis/java-analytics-admin/issues/34)) ([52df7a7](https://www.github.com/googleapis/java-analytics-admin/commit/52df7a73bb0244e557f714c713d9eb7a700c6a4f))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please).
---
CHANGELOG.md | 7 +++++++
README.md | 4 ++--
google-analytics-admin-bom/pom.xml | 8 ++++----
google-analytics-admin/pom.xml | 4 ++--
grpc-google-analytics-admin-v1alpha/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-analytics-admin-v1alpha/pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
versions.txt | 6 +++---
10 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81655553..18ade497 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [0.1.2](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.1...v0.1.2) (2020-09-21)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#34](https://www.github.com/googleapis/java-analytics-admin/issues/34)) ([52df7a7](https://www.github.com/googleapis/java-analytics-admin/commit/52df7a73bb0244e557f714c713d9eb7a700c6a4f))
+
### [0.1.1](https://www.github.com/googleapis/java-analytics-admin/compare/v0.1.0...v0.1.1) (2020-08-11)
diff --git a/README.md b/README.md
index 4e8d0c8f..0896661b 100644
--- a/README.md
+++ b/README.md
@@ -28,11 +28,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.analytics:google-analytics-admin:0.1.1'
+compile 'com.google.analytics:google-analytics-admin:0.1.2'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.1.1"
+libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.1.2"
```
[//]: # ({x-version-update-end})
diff --git a/google-analytics-admin-bom/pom.xml b/google-analytics-admin-bom/pom.xml
index 92566c4b..3d22057b 100644
--- a/google-analytics-admin-bom/pom.xml
+++ b/google-analytics-admin-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.analytics
google-analytics-admin-bom
- 0.1.2-SNAPSHOT
+ 0.1.2
pom
com.google.cloud
@@ -68,17 +68,17 @@
com.google.analytics
google-analytics-admin
- 0.1.2-SNAPSHOT
+ 0.1.2
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
diff --git a/google-analytics-admin/pom.xml b/google-analytics-admin/pom.xml
index 46aa4855..0d2059e4 100644
--- a/google-analytics-admin/pom.xml
+++ b/google-analytics-admin/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.analytics
google-analytics-admin
- 0.1.2-SNAPSHOT
+ 0.1.2
jar
Google Analytics Admin
https://github.com/googleapis/java-analytics-admin
@@ -11,7 +11,7 @@
com.google.analytics
google-analytics-admin-parent
- 0.1.2-SNAPSHOT
+ 0.1.2
google-analytics-admin
diff --git a/grpc-google-analytics-admin-v1alpha/pom.xml b/grpc-google-analytics-admin-v1alpha/pom.xml
index d01af026..b6c81e92 100644
--- a/grpc-google-analytics-admin-v1alpha/pom.xml
+++ b/grpc-google-analytics-admin-v1alpha/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
grpc-google-analytics-admin-v1alpha
GRPC library for grpc-google-analytics-admin-v1alpha
com.google.analytics
google-analytics-admin-parent
- 0.1.2-SNAPSHOT
+ 0.1.2
diff --git a/pom.xml b/pom.xml
index 08908df9..a0dceccc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.analytics
google-analytics-admin-parent
pom
- 0.1.2-SNAPSHOT
+ 0.1.2
Google Analytics Admin Parent
https://github.com/googleapis/java-analytics-admin
@@ -70,17 +70,17 @@
com.google.analytics
google-analytics-admin
- 0.1.2-SNAPSHOT
+ 0.1.2
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
com.google.api.grpc
grpc-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
diff --git a/proto-google-analytics-admin-v1alpha/pom.xml b/proto-google-analytics-admin-v1alpha/pom.xml
index 0f65b796..1215cd5d 100644
--- a/proto-google-analytics-admin-v1alpha/pom.xml
+++ b/proto-google-analytics-admin-v1alpha/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-analytics-admin-v1alpha
- 0.1.2-SNAPSHOT
+ 0.1.2
proto-google-analytics-admin-v1alpha
PROTO library for proto-google-analytics-admin-v1alpha
com.google.analytics
google-analytics-admin-parent
- 0.1.2-SNAPSHOT
+ 0.1.2
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 2a6ff4e8..bfb90939 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.analytics
google-analytics-admin
- 0.1.1
+ 0.1.2
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 8e679222..6b6b1344 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -27,7 +27,7 @@
com.google.analytics
google-analytics-admin
- 0.1.1
+ 0.1.2
diff --git a/versions.txt b/versions.txt
index 98990f90..3c2437f3 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-analytics-admin:0.1.1:0.1.2-SNAPSHOT
-proto-google-analytics-admin-v1alpha:0.1.1:0.1.2-SNAPSHOT
-grpc-google-analytics-admin-v1alpha:0.1.1:0.1.2-SNAPSHOT
\ No newline at end of file
+google-analytics-admin:0.1.2:0.1.2
+proto-google-analytics-admin-v1alpha:0.1.2:0.1.2
+grpc-google-analytics-admin-v1alpha:0.1.2:0.1.2
\ No newline at end of file