gradle-release-plugin
gradle-release-plugin copied to clipboard
Failed to get tag name on git
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?
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.