8000 use changelog format for deployment as its right now · SylApps/idea-php-symfony2-plugin@12be3ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 12be3ce

Browse files
committed
use changelog format for deployment as its right now
1 parent 626cf5e commit 12be3ce

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

build.gradle.kts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,15 @@ tasks {
7171
patchPluginXml {
7272
version.set(properties("pluginVersion"))
7373
sinceBuild.set(properties("pluginSinceBuild"))
74-
// untilBuild.set(properties("pluginUntilBuild"))
74+
untilBuild.set(properties("pluginUntilBuild"))
75+
changeNotes.set(file("src/main/resources/META-INF/change-notes.html").readText().replace("<html>", "").replace("</html>", ""));
7576

7677
// Get the latest available change notes from the changelog file
77-
changeNotes.set(provider {
78-
changelog.run {
79-
getOrNull(properties("pluginVersion")) ?: getLatest()
80-
}.toHTML()
81-
})
78+
// changeNotes.set(provider {
79+
// changelog.run {
80+
// getOrNull(properties("pluginVersion")) ?: getLatest()
81+
// }.toHTML()
82+
// })
8283
}
8384

8485
// Configure UI tests plugin
@@ -97,7 +98,7 @@ tasks {
9798
}
9899

99100
publishPlugin {
100-
dependsOn("patchChangelog")
101+
// dependsOn("patchChangelog")
101102
token.set(System.getenv("PUBLISH_TOKEN"))
102103
// pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
103104
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:

0 commit comments

Comments
 (0)
0