From 12be3ce816910091ed33d39d42b15fd9e4dab086 Mon Sep 17 00:00:00 2001 From: Daniel Espendiller Date: Sun, 10 Apr 2022 10:28:58 +0200 Subject: [PATCH] use changelog format for deployment as its right now --- build.gradle.kts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3e42e618b..58d1b1919 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -71,14 +71,15 @@ tasks { patchPluginXml { version.set(properties("pluginVersion")) sinceBuild.set(properties("pluginSinceBuild")) - // untilBuild.set(properties("pluginUntilBuild")) + untilBuild.set(properties("pluginUntilBuild")) + changeNotes.set(file("src/main/resources/META-INF/change-notes.html").readText().replace("", "").replace("", "")); // Get the latest available change notes from the changelog file - changeNotes.set(provider { - changelog.run { - getOrNull(properties("pluginVersion")) ?: getLatest() - }.toHTML() - }) + // changeNotes.set(provider { + // changelog.run { + // getOrNull(properties("pluginVersion")) ?: getLatest() + // }.toHTML() + // }) } // Configure UI tests plugin @@ -97,7 +98,7 @@ tasks { } publishPlugin { - dependsOn("patchChangelog") + // dependsOn("patchChangelog") token.set(System.getenv("PUBLISH_TOKEN")) // pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more: