Advanced-Portals/changelog-util.gradle
2024-12-10 04:33:51 +00:00

6 lines
218 B
Groovy

ext.getReleaseChangelog = {
def changelogFile = file('CHANGELOG.md')
def changelog = "## [${changelogFile.text.split('\n## \\[')[1]}\n\n" // ${project.github}/blob/${branch}/CHANGELOG.md
return changelog
}