Skip to content
Snippets Groups Projects
Commit d66ccb98 authored by DanelRod's avatar DanelRod
Browse files

D603345-4798 update versions from hash

parent 19594458
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ apply from: rootProject.file('gradle/install-git-hooks.gradle')
allprojects {
group = project.group
version = project.version "-" + UUID.randomUUID().toString().substring(0, 8)
version = project.version + "-" + getCheckedOutGitCommitHash()
}
publishing {
......@@ -101,5 +101,10 @@ subprojects {
}
}
static def getCheckedOutGitCommitHash() {
grgit.head().abbreviatedId
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment