Skip to content

doc(release): update release docs with BCR instructions - #16329

Open
scotthart wants to merge 1 commit into
googleapis:mainfrom
scotthart:docs_release_bcr
Open

doc(release): update release docs with BCR instructions#16329
scotthart wants to merge 1 commit into
googleapis:mainfrom
scotthart:docs_release_bcr

Conversation

@scotthart

Copy link
Copy Markdown
Member

No description provided.

@scotthart
scotthart requested a review from a team as a code owner August 6, 2026 21:11

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the release documentation in release/README.md by removing outdated steps, updating GitHub release instructions, and adding a detailed guide for updating the google_cloud_cpp Bazel Central Registry (BCR) module. The review feedback identifies several issues in the new BCR instructions, including incorrect version variable prefixes, a typo, a hardcoded version in a heading, and a missing variable assignment that would break the checksum replacement command.

Comment thread release/README.md
Comment on lines +235 to +236
OLD_VERSION=... # e.g. v2.12.0
VERSION=... # e.g. v2.13.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In the Bazel Central Registry, module versions do not include the v prefix (e.g., they are 2.13.0 instead of v2.13.0). If the v prefix is included in the VERSION variable, the directory creation (modules/google_cloud_cpp/${VERSION}) and other commands will use the incorrect path. Please define these variables without the v prefix.

Suggested change
OLD_VERSION=... # e.g. v2.12.0
VERSION=... # e.g. v2.13.0
OLD_VERSION=... # e.g. 2.12.0
VERSION=... # e.g. 2.13.0

Comment thread release/README.md
cp -r modules/google_cloud_cpp/${OLD_VERSION}/* modules/google_cloud_cpp/${VERSION}
```

#### Overwrite the the MODULE.bazel file with MODULE.bazel file from the release

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a duplicate word "the" in this heading.

Suggested change
#### Overwrite the the MODULE.bazel file with MODULE.bazel file from the release
#### Overwrite the MODULE.bazel file with MODULE.bazel file from the release

Comment thread release/README.md
]
```

#### Update the modules/google_cloud_cpp/3.8.0/source.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To make the instructions consistent and generic, use ${VERSION} in the heading instead of the hardcoded version 3.8.0.

Suggested change
#### Update the modules/google_cloud_cpp/3.8.0/source.json
#### Update the modules/google_cloud_cpp/${VERSION}/source.json

Comment thread release/README.md
command:

```shell
curl -fSsL https://github.com/googleapis/google-cloud-cpp/archive/v${VERSION}.tar.gz | sha256sum | awk '{print $1}' | xxd -r -p | base64

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The command computes the base64 SHA256 checksum but does not assign it to the SHA256 environment variable. As a result, the subsequent sed command will replace the integrity field with an empty hash. Assign the output of the command to the SHA256 variable.

Suggested change
curl -fSsL https://github.com/googleapis/google-cloud-cpp/archive/v${VERSION}.tar.gz | sha256sum | awk '{print $1}' | xxd -r -p | base64
SHA256=$(curl -fSsL https://github.com/googleapis/google-cloud-cpp/archive/v${VERSION}.tar.gz | sha256sum | awk '{print $1}' | xxd -r -p | base64)

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.23%. Comparing base (c49c86f) to head (9b84930).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16329   +/-   ##
=======================================
  Coverage   92.23%   92.23%           
=======================================
  Files        2227     2227           
  Lines      209169   209169           
=======================================
+ Hits       192929   192932    +3     
+ Misses      16240    16237    -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@colinmoy colinmoy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See gemini bot's suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants