mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-22 16:38:20 +01:00
Call latestCommitHash only once
This commit is contained in:
parent
50176dc317
commit
1bf7962dc3
@ -50,7 +50,8 @@ val suffixedVersion = if (isRelease) baseVersion else baseVersion + "+" + System
|
||||
val changelogContent = if (isRelease) {
|
||||
"See [GitHub](https://github.com/ViaVersion/ViaVersion) for release notes."
|
||||
} else {
|
||||
"[${rootProject.latestCommitHash()}](https://github.com/ViaVersion/ViaVersion/commit/${rootProject.latestCommitHash()}) ${rootProject.latestCommitMessage()}"
|
||||
val commitHash = rootProject.latestCommitHash()
|
||||
"[$commitHash](https://github.com/ViaVersion/ViaVersion/commit/$commitHash) ${rootProject.latestCommitMessage()}"
|
||||
}
|
||||
val isMainBranch = branch == "master"
|
||||
modrinth {
|
||||
|
Loading…
Reference in New Issue
Block a user