mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Use different git command for version name
This commit is contained in:
parent
3d95bf0837
commit
8908d10028
1 changed files with 3 additions and 1 deletions
|
@ -94,5 +94,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
def getVersion() {
|
def getVersion() {
|
||||||
return 'git describe --abbrev=0'.execute([], project.rootDir).text.trim()
|
return 'git describe --always --long'.execute([], project.rootDir).text
|
||||||
|
.trim()
|
||||||
|
.replaceAll(/(-0)?-[^-]+$/, "")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue