Skip to content

Commit

Permalink
remove overengineering that may have been causing a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Apr 4, 2024
1 parent 9ea1bb4 commit 12a45bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ afterEvaluate {
val http = HttpUtils()

val tags = grgit.tag.list().sortedByDescending { it.commit.dateTime }.map { it.commit.id }
val prevTag: String = tags.getOrNull(1) ?: grgit.log().minBy { it.dateTime }.id
val prevTag: String = tags[1]

val commitList = grgit.log {
range(prevTag, "HEAD")
Expand Down

0 comments on commit 12a45bf

Please sign in to comment.