Skip to content

Commit d7ca53c

Browse files
authored
---
yaml --- r: 8047 b: refs/heads/tswast-patch-1 c: f992793 h: refs/heads/master i: 8045: 72b7677 8043: f3b041b 8039: e24b724 8031: b5b9ef2
1 parent 78ed0e4 commit d7ca53c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: f6b8dda6d20d3e029051c1136d521586b33cacaf
60+
refs/heads/tswast-patch-1: f992793f1871d56542e351b405fc1544963eb5dc
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/utilities/update_versions.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ for item in ${modules[*]}; do
228228
# echo -e "new_base_version=${new_base_version}, new_qualifier=${new_qualifier}, new_snapshot=${new_snapshot}"
229229

230230
echo -e "Updating module ${BOLD}${module}${NC} in folder ${folder} from version ${RED}${old_version}${NC} to ${GREEN}${new_version}${NC}"
231-
module_suffix=${module##google-cloud-}
231+
if [ "${module}" == "google-cloud" ]; then
232+
module_suffix="cloud"
233+
else
234+
module_suffix="${module##google-cloud-}"
235+
fi
232236

233237
# Where the actual version changing happens (the only mutative operations in the script).
234238

0 commit comments

Comments
 (0)