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

chore(codegen): fix codegen release #5994

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

milesziemer
Copy link
Contributor

Jreleaser has to work in a git repository, and uses the jgit java library to interact with git. When jgit tries to open the git repo, it tries to open codegen/config as a file, which blows up. I don't know of any way to configure what jgit is doing here, so I renamed the directory and it solves the issue. Also had to set gitRootSearch so jreleaser walks up the parent directories to find the git root.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Jreleaser has to work in a git repository, and uses the jgit java
library to interact with git. When jgit tries to open the git repo,
it tries to open `codegen/config` as a file, which blows up. I don't
know of any way to configure what jgit is doing here, so I renamed
the directory and it solves the issue. Also had to set `gitRootSearch`
so jreleaser walks up the parent directories to find the git root.
@milesziemer milesziemer requested a review from a team as a code owner April 11, 2024 19:24
Copy link
Contributor

@kuhe kuhe left a comment

Choose a reason for hiding this comment

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

for the record, this PR represents like 4 software developer hours of debugging

@milesziemer milesziemer merged commit 2f5f32e into aws:main Apr 11, 2024
2 of 5 checks passed
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants