Skip to content

Commit 6277a22

Browse files
chore: generate libraries at Thu Jul 24 17:13:46 UTC 2025
1 parent 3b07340 commit 6277a22

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/scripts/update_generation_config.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -ex
2+
set -e
33
# This script should be run at the root of the repository.
44
# This script is used to update googleapis_commitish, gapic_generator_version,
55
# and libraries_bom_version in generation configuration at the time of running
@@ -15,10 +15,8 @@ set -ex
1515
function get_latest_released_version() {
1616
local group_id=$1
1717
local artifact_id=$2
18-
group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")"
19-
url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml"
20-
xml_content=$(curl -s --fail "${url}")
21-
latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}")
18+
json_content=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json")
19+
latest=$(jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' <<< "${json_content}" | sort -V | tail -n 1)
2220
if [[ -z "${latest}" ]]; then
2321
echo "The latest version of ${group_id}:${artifact_id} is empty."
2422
echo "The returned json from maven.org is invalid: ${json_content}"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.63.0</version>
22+
<version>26.64.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -46,12 +46,12 @@ If you are using Maven without the BOM, add this to your dependencies:
4646
<dependency>
4747
<groupId>com.google.cloud</groupId>
4848
<artifactId>google-cloud-storage</artifactId>
49-
<version>2.53.2</version>
49+
<version>2.53.3</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>com.google.cloud</groupId>
5353
<artifactId>google-cloud-storage-control</artifactId>
54-
<version>2.53.2</version>
54+
<version>2.53.3</version>
5555
</dependency>
5656

5757
```
@@ -66,13 +66,13 @@ implementation 'com.google.cloud:google-cloud-storage'
6666
If you are using Gradle without BOM, add this to your dependencies:
6767

6868
```Groovy
69-
implementation 'com.google.cloud:google-cloud-storage:2.53.3'
69+
implementation 'com.google.cloud:google-cloud-storage:2.54.0'
7070
```
7171

7272
If you are using SBT, add this to your dependencies:
7373

7474
```Scala
75-
libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.53.3"
75+
libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.54.0"
7676
```
7777

7878
## Authentication
@@ -522,7 +522,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
522522
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-storage/java11.html
523523
[stability-image]: https://img.shields.io/badge/stability-stable-green
524524
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage.svg
525-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.53.3
525+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.54.0
526526
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
527527
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
528528
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

0 commit comments

Comments
 (0)