-
Notifications
You must be signed in to change notification settings - Fork 42
sidekick: Automate version bumps for generated clients #2127
Copy link
Copy link
Closed
Description
Soon the generated clients will be more stable, and we won't be making breaking changes to all of them in each release.
At that point we would want to automate the version bumps. We need sidekick to perform the following steps:
- For each generated client:
- If any code has changed, we need to run
cargo semver-checksto determine if the major version or minor version needs a bump.
- If any code has changed, we need to run
- For each hand-crafted core library (
*-auth,*-gax,*-wkt,*-lro,*-gax-internal)- If any code has changed, we need to run
cargo semver-checksto determine if the major version or minor version needs a bump.
- If any code has changed, we need to run
- When updating a version number we need to change the version number in:
- For generated libraries, we need to update the .sidekick.toml file for the library
- The Cargo.toml file for the library, for generated libraries the previous step will update on the next
refreshall. - If the library is mentioned in the top-level Cargo.toml file
[dependencies]section then it is a dep of another library, we need to update its version number there too.
Once all the version bumps are done we can create a PR.
It is possible that tools like release-please or release-plz can do a lot of this work for us.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels