Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(internal/gapicgen): add generation of internal/version.go for new client modules #5726

Merged
merged 1 commit into from Mar 4, 2022

Conversation

quartzmo
Copy link
Member

@quartzmo quartzmo commented Mar 4, 2022

This was discovered attempting to generate certificatemanager.
New client generation failed with apiv1/version.go: no such file or directory

  • Move genVersionFile before genModule .
  • Fix path for generation of apivX/version.go file.
  • Add template and creation of the client's internal/version.go file, conditional on genModule.

… client modules

This was discovered attempting to generate certificatemanager.
New client generation failed with apiv1/version.go: no such file or directory
@quartzmo quartzmo requested a review from a team as a code owner March 4, 2022 18:47
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Mar 4, 2022
@quartzmo
Copy link
Member Author

quartzmo commented Mar 4, 2022

Thanks for helping me with every step of this PR @codyoss !!!

Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM

@codyoss codyoss merged commit 341e0df into googleapis:main Mar 4, 2022
@release-please release-please bot mentioned this pull request Mar 4, 2022
@quartzmo quartzmo deleted the gapicgen-internal-version branch March 4, 2022 20:58
BrennaEpp pushed a commit to BrennaEpp/google-cloud-go that referenced this pull request Mar 10, 2022
… client modules (googleapis#5726)

This was discovered attempting to generate certificatemanager.
New client generation failed with apiv1/version.go: no such file or directory

- Move genVersionFile before genModule .
- Fix path for generation of apivX/version.go file.
- Add template and creation of the client's internal/version.go file, conditional on genModule.
@release-please release-please bot mentioned this pull request Mar 15, 2022
@release-please release-please bot mentioned this pull request Mar 28, 2022
@release-please release-please bot mentioned this pull request Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants