Skip to content

Commit

Permalink
[ci skip] fix: get correct release version for release message
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Jun 27, 2024
1 parent 0757245 commit 529f59d
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 @@ -48,7 +48,7 @@ fun lastReleaseCommitMessages(): String {
val response = connection.inputStream.bufferedReader().use { it.readText() }
val previousReleaseVersion = JsonParser.parseString(response).asJsonArray.get(1).asJsonObject.get("tag_name").asString

val currentProjectVersion = version.toString()
val currentProjectVersion = versionString

return executeGitCommand("log", "--pretty=format:%s%n", "$previousReleaseVersion..$currentProjectVersion")
}
Expand Down

0 comments on commit 529f59d

Please sign in to comment.