Skip to content

Commit cd5c0a8

Browse files
authored
docs: how-to bump versions (#3365)
1 parent 207fc86 commit cd5c0a8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ extend-exclude = [
1919
"testdata/**",
2020
"tools/cmd/docfx/testdata/**",
2121
# Generated libraries often contain typos coming from upstream protos.
22+
"/go.work.sum",
2223
"dart/generated/**",
2324
"src/*/src/generated/**",
2425
"src/generated/**",

doc/contributor/howto-guide-generated-code-maintenance.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ git commit -m"chore: update googleapis SHA circa $(date +%Y-%m-%d)" .
6767

6868
Then send a PR with whatever changed.
6969

70+
## Bump all version numbers
71+
72+
Run:
73+
74+
```bash
75+
git checkout -b chore-bump-version-numbers-circa-$(date +%Y-%m-%d)
76+
go run github.com/googleapis/librarian/cmd/sidekick@main rust-bump-versions
77+
# The previous command fails when `gax-internal` has changed.
78+
git ls-files -z -- \
79+
'*.toml' ':!:**/testdata/**' ':!:**/generated/**' | \
80+
xargs -0 taplo fmt
81+
git commit -m"chore: bump version numbers circa $(date +%Y-%m-%d)" .
82+
```
83+
7084
## Refreshing the code
7185

7286
### All libraries

0 commit comments

Comments
 (0)