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

Load git repo from projectDir instead of current working directory #47

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

squiddle
Copy link

If the gradle project using the gitrelease plugin is not accessed from the
command line inside the gradle project it fails with an exception as it
cannot figure out what the git repository is.

This fix uses the projects projectDir as a starting point in finding the
git repository. This might cause issues if someone relied on this feature
and used the gitrelease plugin without having the working directory being
the projects checked out git repository.

This fix allows gradle projects using the gitrelease to be imported
into IntelliJ directly with the built-in gradle support.

If the gradle project using the gitrelease plugin is not accessed from the
command line inside the gradle project it fails with an exception as it
cannot figure out what the git repository is.

This fix uses the projects projectDir as a starting point in finding the
git repository. This might cause issues if someone relied on this feature
and used the gitrelease plugin without having the working directory being
the projects checked out git repository.

This fix allows gradle projects using the gitrelease to be imported
into IntelliJ directly with the built-in gradle support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant