Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-19 14:30:16 +01:00
Call latestCommitHash only once
Dieser Commit ist enthalten in:
Ursprung
50176dc317
Commit
1bf7962dc3
@ -50,7 +50,8 @@ val suffixedVersion = if (isRelease) baseVersion else baseVersion + "+" + System
|
|||||||
val changelogContent = if (isRelease) {
|
val changelogContent = if (isRelease) {
|
||||||
"See [GitHub](https://github.com/ViaVersion/ViaVersion) for release notes."
|
"See [GitHub](https://github.com/ViaVersion/ViaVersion) for release notes."
|
||||||
} else {
|
} 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"
|
val isMainBranch = branch == "master"
|
||||||
modrinth {
|
modrinth {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren