[photonlib] Fix C++ compilation errors (#266)

Properly builds linux athena artifacts and fixes vendor JSON bug
This commit is contained in:
Matt
2021-03-28 14:36:03 -07:00
committed by GitHub
parent 49fcdb64ed
commit 3948650e6c
3 changed files with 14 additions and 8 deletions

View File

@@ -15,8 +15,8 @@ gradle.allprojects {
} catch(Exception e) {
tagIsh = "dev-Unknown"
}
boolean isDev = tagIsh.matches(".*-[0-9]*-g[0-9a-f]*")
if(isDev) tagIsh = "dev-" + tagIsh
// boolean isDev = tagIsh.matches(".*-[0-9]*-g[0-9a-f]*")
// if(isDev) tagIsh = "dev-" + tagIsh
println("Picked up version: " + tagIsh)
return tagIsh
}