mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 03:15:46 -04:00
Android: Fix incorrect version string on build
This commit is contained in:
@ -59,7 +59,7 @@ def getVersion() {
|
||||
def versionNumber = '0.0-unknown'
|
||||
|
||||
try {
|
||||
versionNumber = 'git describe --tags --exclude latest'.execute([], project.rootDir).text
|
||||
versionNumber = 'git describe --tags --exclude latest --exclude preview'.execute([], project.rootDir).text
|
||||
.trim()
|
||||
.replaceAll(/(-0)?-[^-]+$/, "")
|
||||
} catch (Exception e) {
|
||||
|
Reference in New Issue
Block a user