forked from Louvorg/ReaderForSelfoss-multiplatform
Cleaning.
This commit is contained in:
@ -30,7 +30,7 @@ fun gitVersion(): String {
|
||||
println("Tag found on current commit")
|
||||
execWithOutput("git -C ../ describe --contains HEAD")
|
||||
}
|
||||
return process.replace("'", "").substring(1).replace("\\.", "").trim()
|
||||
return process.replace("^0", "").replace("'", "").substring(1).replace("\\.", "").trim()
|
||||
}
|
||||
|
||||
fun versionCodeFromGit(): Int {
|
||||
|
Reference in New Issue
Block a user