mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-21 18:16:09 +01:00
Add releasenotes to publications
This commit is contained in:
parent
73103eda3b
commit
deafe50305
2
.gitignore
vendored
2
.gitignore
vendored
@ -14,6 +14,8 @@ node_modules/
|
||||
|
||||
*.launch
|
||||
|
||||
release.md
|
||||
|
||||
# exclude generated resource
|
||||
BlueMapCommon/src/main/resources/de/bluecolored/bluemap/webapp.zip
|
||||
BlueMapCore/src/main/resources/de/bluecolored/bluemap/*/resourceExtensions.zip
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.15.2")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.16.2", "1.16.3", "1.16.4", "1.16.5")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.17", "1.17.1")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.18", "1.18.1", "1.18.2")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.19.4")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -140,7 +140,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("remappedShadowJar"))
|
||||
gameVersions.addAll("1.20", "1.20.1", "1.20.2")
|
||||
dependencies {
|
||||
@ -153,7 +155,9 @@ curseforge {
|
||||
project(closureOf<CurseProject> {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion("Fabric")
|
||||
|
@ -177,7 +177,9 @@ modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "swbUV1cr"
|
||||
versionNumber = "${project.version}-${project.name}"
|
||||
changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
uploadFile = shadowJar
|
||||
gameVersions = ["1.17.1"]
|
||||
}
|
||||
@ -187,7 +189,9 @@ curseforge {
|
||||
project {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion "Forge"
|
||||
|
@ -173,7 +173,9 @@ modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "swbUV1cr"
|
||||
versionNumber = "${project.version}-${project.name}"
|
||||
changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
uploadFile = shadowJar
|
||||
gameVersions = ["1.18.1", "1.18.2"]
|
||||
}
|
||||
@ -183,7 +185,9 @@ curseforge {
|
||||
project {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion "Forge"
|
||||
|
@ -173,7 +173,9 @@ modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "swbUV1cr"
|
||||
versionNumber = "${project.version}-${project.name}"
|
||||
changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
uploadFile = shadowJar
|
||||
gameVersions = ["1.19.4"]
|
||||
}
|
||||
@ -183,7 +185,9 @@ curseforge {
|
||||
project {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion "Forge"
|
||||
|
@ -173,7 +173,9 @@ modrinth {
|
||||
token = System.getenv("MODRINTH_TOKEN")
|
||||
projectId = "swbUV1cr"
|
||||
versionNumber = "${project.version}-${project.name}"
|
||||
changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
uploadFile = shadowJar
|
||||
gameVersions = ["1.20", "1.20.1", "1.20.2"]
|
||||
}
|
||||
@ -183,7 +185,9 @@ curseforge {
|
||||
project {
|
||||
id = "406463"
|
||||
changelogType = "markdown"
|
||||
changelog = "**Releasenotes and Changelog:**\n\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
|
||||
changelog = file("../../release.md")
|
||||
.getText()
|
||||
.replace("{version}", project.version.toString())
|
||||
releaseType = "release"
|
||||
|
||||
addGameVersion "Forge"
|
||||
|
@ -119,7 +119,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog: \nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("shadowJar"))
|
||||
loaders.addAll("paper","purpur","folia")
|
||||
gameVersions.addAll(
|
||||
@ -132,7 +134,9 @@ hangarPublish {
|
||||
version.set(project.version as String)
|
||||
id.set("BlueMap")
|
||||
channel.set("Release")
|
||||
changelog.set("Releasenotes and Changelog: \nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
|
||||
apiKey.set(System.getenv("HANGAR_TOKEN"))
|
||||
|
||||
|
@ -121,7 +121,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog: \nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("shadowJar"))
|
||||
loaders.addAll("spigot", "paper", "purpur")
|
||||
gameVersions.addAll(
|
||||
|
@ -135,7 +135,9 @@ modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("swbUV1cr")
|
||||
versionNumber.set("${project.version}-${project.name}")
|
||||
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
changelog.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
uploadFile.set(tasks.findByName("shadowJar"))
|
||||
loaders.addAll("sponge")
|
||||
gameVersions.addAll("1.16.5")
|
||||
@ -150,7 +152,10 @@ oreDeployment {
|
||||
apiKey(System.getenv("ORE_TOKEN"))
|
||||
defaultPublication {
|
||||
projectId.set("BlueMap")
|
||||
versionBody.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
|
||||
createForumPost.set(true)
|
||||
versionBody.set(file("../../release.md")
|
||||
.readText()
|
||||
.replace("{version}", project.version.toString()))
|
||||
publishArtifacts.setFrom(tasks.findByName("shadowJar"))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user