gradle-release-plugin icon indicating copy to clipboard operation
gradle-release-plugin copied to clipboard

Failed to get tag name on git

Open altery opened this issue 9 years ago • 1 comments

The plugin fails if a tag is checked out from git:

16:44:21.741 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process 'command 'git''. Working directory: (...) Command: git symbolic-ref -q HEAD 16:44:21.768 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED 16:44:21.768 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command 'git'' finished with exit value 1 (state: FAILED)

Is this supposed to work?

altery avatar Aug 20 '14 16:08 altery

I'm in the process of refactoring this to use jgit, but that's still not complete since we aren't using git at work.

ari avatar Aug 21 '14 00:08 ari