ari / gradle-release-plugin

A modern release plugin for gradle
Apache License 2.0
51 stars 26 forks source link

Failed to get tag name on git #24

Open altery opened 10 years ago

altery commented 10 years ago

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?

ari commented 10 years ago

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.