We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b248a commit 6abf5e8Copy full SHA for 6abf5e8
.gitignore
@@ -13,3 +13,4 @@ docs/_build/
13
\.classpath
14
\.project
15
\.settings/
16
+/.nb-gradle/
build.gradle
@@ -13,7 +13,7 @@ apply plugin: 'osgi'
def getDevelopmentVersion() {
def output = new StringBuilder()
def error = new StringBuilder()
- def gitShortHash = 'git rev-parse --short HEAD'.execute()
+ def gitShortHash = "git -C ${projectDir} rev-parse --short HEAD".execute()
17
gitShortHash.waitForProcessOutput(output, error)
18
def gitHash = output.toString().trim()
19
if (gitHash.isEmpty()) {
0 commit comments