Skip to content

Commit

Permalink
chore: Fix update_versions.sh to include beyondcorp (#8619)
Browse files Browse the repository at this point in the history
This PR resets only the beyondcorp-* module's version.txt
  • Loading branch information
lqiu96 authored Oct 17, 2022
1 parent dcf8423 commit 50afbb7
Show file tree
Hide file tree
Showing 32 changed files with 90 additions and 95 deletions.
10 changes: 5 additions & 5 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"java-automl": "2.3.18",
"java-bare-metal-solution": "0.3.8",
"java-batch": "0.3.2",
"java-beyondcorp-appconnections": "0.0.0",
"java-beyondcorp-appconnectors": "0.0.0",
"java-beyondcorp-appgateways": "0.0.0",
"java-beyondcorp-clientconnectorservices": "0.1.2",
"java-beyondcorp-clientgateways": "0.0.0",
"java-beyondcorp-appconnections": "0.1.0",
"java-beyondcorp-appconnectors": "0.1.0",
"java-beyondcorp-appgateways": "0.1.0",
"java-beyondcorp-clientconnectorservices": "0.1.3",
"java-beyondcorp-clientgateways": "0.1.0",
"java-bigqueryconnection": "2.5.6",
"java-bigquery-data-exchange": "0.4.0",
"java-bigquerydatapolicy": "0.0.0",
Expand Down
5 changes: 0 additions & 5 deletions generation/update_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ count=0
missing_artifacts=()

for path in $(find . -mindepth 2 -maxdepth 2 -name pom.xml | sort | xargs dirname); do
# As of 9/21/22: BeyondCorp repos do not have artifacts released to maven central
if [[ "${path}" =~ gapic-libraries-bom ]] || [[ "${path}" =~ .*samples.* ]] || [[ "${path}" =~ .*beyondcorp.* ]]; then
continue
fi

versions_array=($(grep -E "^.*:[0-9]+\.[0-9]+\.[0-9]+.*:[0-9]+\.[0-9]+\.[0-9]+.*$" "${path}/versions.txt"))

for line in "${versions_array[@]}"; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections-bom</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<packaging>pom</packaging>

<parent>
Expand All @@ -28,17 +28,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<packaging>jar</packaging>
<name>Google BeyondCorp AppConnections</name>
<url>https://github.com/googleapis/java-beyondcorp-appconnections</url>
<description>BeyondCorp AppConnections is Google's implementation of the zero trust model. It builds upon a decade of experience at Google, combined with ideas and best practices from the community. By shifting access controls from the network perimeter to individual users, BeyondCorp enables secure work from virtually any location without the need for a traditional VPN.</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-beyondcorp-appconnections</site.installationModule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
<name>grpc-google-cloud-beyondcorp-appconnections-v1</name>
<description>GRPC library for google-cloud-beyondcorp-appconnections</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions java-beyondcorp-appconnections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections-parent</artifactId>
<packaging>pom</packaging>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<name>Google BeyondCorp AppConnections Parent</name>
<url>https://github.com/googleapis/java-beyondcorp-appconnections</url>
<description>
Expand All @@ -30,17 +30,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnections-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnections-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnections-v1:current} -->
<name>proto-google-cloud-beyondcorp-appconnections-v1</name>
<description>Proto library for google-cloud-beyondcorp-appconnections</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnections-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnections:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions java-beyondcorp-appconnections/versions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version

google-cloud-beyondcorp-appconnections:0.0.0:0.1.0-SNAPSHOT
proto-google-cloud-beyondcorp-appconnections-v1:0.0.0:0.1.0-SNAPSHOT
grpc-google-cloud-beyondcorp-appconnections-v1:0.0.0:0.1.0-SNAPSHOT
google-cloud-beyondcorp-appconnections:0.1.0:0.1.1-SNAPSHOT
proto-google-cloud-beyondcorp-appconnections-v1:0.1.0:0.1.1-SNAPSHOT
grpc-google-cloud-beyondcorp-appconnections-v1:0.1.0:0.1.1-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors-bom</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<packaging>pom</packaging>

<parent>
Expand All @@ -28,17 +28,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<packaging>jar</packaging>
<name>Google BeyondCorp AppConnectors</name>
<url>https://github.com/googleapis/java-beyondcorp-appconnectors</url>
<description>BeyondCorp AppConnectors provides methods to manage (create/read/update/delete) BeyondCorp AppConnectors.</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-beyondcorp-appconnectors</site.installationModule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
<name>grpc-google-cloud-beyondcorp-appconnectors-v1</name>
<description>GRPC library for google-cloud-beyondcorp-appconnectors</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions java-beyondcorp-appconnectors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors-parent</artifactId>
<packaging>pom</packaging>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<name>Google BeyondCorp AppConnectors Parent</name>
<url>https://github.com/googleapis/java-beyondcorp-appconnectors</url>
<description>
Expand All @@ -30,17 +30,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appconnectors-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appconnectors-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appconnectors-v1:current} -->
<name>proto-google-cloud-beyondcorp-appconnectors-v1</name>
<description>Proto library for google-cloud-beyondcorp-appconnectors</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appconnectors-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appconnectors:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions java-beyondcorp-appconnectors/versions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version

google-cloud-beyondcorp-appconnectors:0.0.0:0.1.0-SNAPSHOT
proto-google-cloud-beyondcorp-appconnectors-v1:0.0.0:0.1.0-SNAPSHOT
grpc-google-cloud-beyondcorp-appconnectors-v1:0.0.0:0.1.0-SNAPSHOT
google-cloud-beyondcorp-appconnectors:0.1.0:0.1.1-SNAPSHOT
proto-google-cloud-beyondcorp-appconnectors-v1:0.1.0:0.1.1-SNAPSHOT
grpc-google-cloud-beyondcorp-appconnectors-v1:0.1.0:0.1.1-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appgateways-bom</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<packaging>pom</packaging>

<parent>
Expand All @@ -28,17 +28,17 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appgateways</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appgateways-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appgateways-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appgateways-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-beyondcorp-appgateways-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appgateways-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-beyondcorp-appgateways-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appgateways</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<packaging>jar</packaging>
<name>Google BeyondCorp AppGateways</name>
<url>https://github.com/googleapis/java-beyondcorp-appgateways</url>
<description>BeyondCorp AppGateways A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection.</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appgateways-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-beyondcorp-appgateways</site.installationModule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-beyondcorp-appgateways-v1</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appgateways-v1:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-beyondcorp-appgateways-v1:current} -->
<name>grpc-google-cloud-beyondcorp-appgateways-v1</name>
<description>GRPC library for google-cloud-beyondcorp-appgateways</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-beyondcorp-appgateways-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
<version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-beyondcorp-appgateways:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
Loading

0 comments on commit 50afbb7

Please sign in to comment.