Skip to content

Commit

Permalink
Merge pull request #14 from IntellectualSites/bugfix/improve-changelog
Browse files Browse the repository at this point in the history
Remove changelog feature
  • Loading branch information
TheMeinerLP authored Dec 11, 2023
2 parents 4a75e10 + e104b84 commit cd7334e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 43 deletions.
20 changes: 0 additions & 20 deletions CHANGELOG.md

This file was deleted.

23 changes: 1 addition & 22 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
alias(libs.plugins.run.server)
alias(libs.plugins.publish.hangar)
alias(libs.plugins.publish.modrinth)
alias(libs.plugins.changelog)
}

group = "net.onelitefeather"
Expand Down Expand Up @@ -122,25 +121,11 @@ paper {
}
}

changelog {
version.set(publishData.getVersion(false))
path.set("${project.projectDir}/CHANGELOG.md")
itemPrefix.set("-")
keepUnreleasedSection.set(true)
unreleasedTerm.set("[Unreleased]")
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"))
}


hangarPublish {
publications.register("ClipboardConnect") {
version.set(publishData.getVersion(true))
channel.set(System.getenv("HANGAR_CHANNEL"))
changelog.set(
project.changelog.renderItem(
project.changelog.getOrNull(publishData.getVersion(false)) ?: project.changelog.getUnreleased()
)
)
apiKey.set(System.getenv("HANGAR_SECRET"))
id.set("ClipboardConnect")

Expand All @@ -160,10 +145,4 @@ modrinth {
uploadFile.set(tasks.shadowJar as Any)
gameVersions.addAll(supportedMinecraftVersions)
loaders.add("paper")
loaders.add("bukkit")
changelog.set(
project.changelog.renderItem(
project.changelog.getOrNull(publishData.getVersion(false)) ?: project.changelog.getUnreleased()
)
)
}
}
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ dependencyResolutionManagement {
plugin("run.server","xyz.jpenilla.run-paper").version("2.2.2")
plugin("publish.hangar","io.papermc.hangar-publish-plugin").version("0.1.0")
plugin("publish.modrinth","com.modrinth.minotaur").version("2.+")
plugin("changelog", "org.jetbrains.changelog").version("2.2.0")
}
}
}
Expand Down

0 comments on commit cd7334e

Please sign in to comment.