Skip to content

Commit e34c912

Browse files
committed
Update tag sorting logic in build script
1 parent fc26087 commit e34c912

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fun getVersionGitTags(isSolana: Boolean, printForDebugging: Boolean = false): Li
3131
return grgit.tag.list().filter {
3232
it.name.matches(versionTagsRegex)
3333
}.sortedBy {
34-
it.dateTime
34+
it.dateTime ?: it.commit.dateTime
3535
}.map {
3636
if (printForDebugging) {
3737
println("${it.name} --- (${it.dateTime})")

0 commit comments

Comments
 (0)