Skip to content

Commit 9147419

Browse files
suztomoelharo
andauthored
BOM release document: replace_string to use variables (#1988)
* Updating release document * Added a new variant found in cl/368721221 Co-authored-by: Elliotte Rusty Harold <elharo@users.noreply.github.com>
1 parent 3efebf8 commit 9147419

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

boms/cloud-oss-bom/RELEASING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@ new release is available on Maven Central.
9696
* Manually edit and update any pom.xml files in https://github.com/GoogleCloudPlatform/java-docs-samples that dependabot missed
9797
* In google3 run:
9898
* `$ g4d -f bom`
99-
* `/google/src/head/depot/google3/devtools/scripts/replace_string "&lt;version>oldVersion&lt;/version>" "&lt;version>newVersion&lt;/version>"`
100-
* `/google/src/head/depot/google3/devtools/scripts/replace_string "&lt;version&gt;oldVersion&lt;/version&gt;" "&lt;version>newVersion&lt;/version>"`
99+
* `$ OLD=19.0.0; NEW=19.1.0`
100+
(Adjust the old and new versions)
101+
* `/google/src/head/depot/google3/devtools/scripts/replace_string "&lt;version>${OLD}&lt;/version>" "&lt;version>${NEW}&lt;/version>"`
102+
* `/google/src/head/depot/google3/devtools/scripts/replace_string "&lt;version&gt;${OLD}&lt;/version&gt;" "&lt;version>${NEW}&lt;/version>"`
103+
* `/google/src/head/depot/google3/devtools/scripts/replace_string "&lt;version&gt;${OLD}&lt;/version>" "&lt;version>${NEW}&lt;/version>"`
101104
* Sanity check the cl and send it for review.
102105
* Submit on approval
103106
* Search for libraries-bom in google3 to find any internal references (typically cloudsite and devsite) that still need to be updated.

0 commit comments

Comments
 (0)