mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-24 05:19:35 -05:00
Use different git command for version name
This commit is contained in:
@@ -94,5 +94,7 @@ dependencies {
|
||||
}
|
||||
|
||||
def getVersion() {
|
||||
return 'git describe --abbrev=0'.execute([], project.rootDir).text.trim()
|
||||
return 'git describe --always --long'.execute([], project.rootDir).text
|
||||
.trim()
|
||||
.replaceAll(/(-0)?-[^-]+$/, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user