File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1- # [ " 2.46.1" ] ( " https://github.com/domaframework/doma/releases/tag/2.46.1" )
1+ # [ 2.46.1] ( https://github.com/domaframework/doma/releases/tag/2.46.1 )
22
3- "\r\n* Fix typo \"IEDA\" -> \"IDEA\" ([#684](https://github.com/domaframework/doma/pull/684))\r\n* Add params and literals methods to InsertBuilder, UpdateBuilder and DeleteBuilder ([#683](https://github.com/domaframework/doma/pull/683))\r\n\r\n## Maintenance\r\n\r\n* Remove \"skip ci\" check ([#673](https://github.com/domaframework/doma/pull/673))\r\n* Pass parameters using environment variables ([#672](https://github.com/domaframework/doma/pull/672))\r\n\r\n## Dependency Upgrades\r\n\r\n* Update actions/github-script action to v4 ([#688](https://github.com/domaframework/doma/pull/688))\r\n* Update dependency com.diffplug.spotless:com.diffplug.spotless.gradle.plugin to v5.12.4 ([#687](https://github.com/domaframework/doma/pull/687))\r\n* Update dependency com.diffplug.spotless:com.diffplug.spotless.gradle.plugin to v5.12.3 ([#686](https://github.com/domaframework/doma/pull/686))\r\n* Update dependency com.diffplug.spotless:com.diffplug.spotless.gradle.plugin to v5.12.1 ([#685](https://github.com/domaframework/doma/pull/685))\r\n* Update dependency gradle to v7 ([#681](https://github.com/domaframework/doma/pull/681))\r\n* Update dependency com.diffplug.spotless:com.diffplug.spotless.gradle.plugin to v5.12.0 ([#682](https://github.com/domaframework/doma/pull/682))\r\n* Update dependency com.diffplug.eclipse.apt:com.diffplug.eclipse.apt.gradle.plugin to v3.29.1 ([#680](https://github.com/domaframework/doma/pull/680))\r\n* Update actions/setup-java action to v2 ([#678](https://github.com/domaframework/doma/pull/678))\r\n* Update dependency com.diffplug.spotless:com.diffplug.spotless.gradle.plugin to v5.11.1 ([#676](https://github.com/domaframework/doma/pull/676))\r\n* Update dependency com.diffplug.eclipse.apt:com.diffplug.eclipse.apt.gradle.plugin to v3.29.0 ([#674](https://github.com/domaframework/doma/pull/674))\r\n"
3+ ## Maintenance
4+
5+ * Add params and literals methods to InsertBuilder, UpdateBuilder and DeleteBuilder ([ #683 ] ( https://github.com/domaframework/doma/pull/683 ) )
6+ * Remove "skip ci" check ([ #673 ] ( https://github.com/domaframework/doma/pull/673 ) )
7+ * Pass parameters using environment variables ([ #672 ] ( https://github.com/domaframework/doma/pull/672 ) )
8+
9+ ## Documentation
10+
11+ * Fix typo "IEDA" -> "IDEA" ([ #684 ] ( https://github.com/domaframework/doma/pull/684 ) )
12+
13+ ## Dependency Upgrades
14+
15+ * Update actions/github-script action to v4 ([ #688 ] ( https://github.com/domaframework/doma/pull/688 ) )
16+ * Update dependency com.diffplug.spotless: com .diffplug.spotless.gradle.plugin to v5.12.4 ([ #687 ] ( https://github.com/domaframework/doma/pull/687 ) )
17+ * Update dependency com.diffplug.spotless: com .diffplug.spotless.gradle.plugin to v5.12.3 ([ #686 ] ( https://github.com/domaframework/doma/pull/686 ) )
18+ * Update dependency com.diffplug.spotless: com .diffplug.spotless.gradle.plugin to v5.12.1 ([ #685 ] ( https://github.com/domaframework/doma/pull/685 ) )
19+ * Update dependency gradle to v7 ([ #681 ] ( https://github.com/domaframework/doma/pull/681 ) )
20+ * Update dependency com.diffplug.spotless: com .diffplug.spotless.gradle.plugin to v5.12.0 ([ #682 ] ( https://github.com/domaframework/doma/pull/682 ) )
21+ * Update dependency com.diffplug.eclipse.apt: com .diffplug.eclipse.apt.gradle.plugin to v3.29.1 ([ #680 ] ( https://github.com/domaframework/doma/pull/680 ) )
22+ * Update actions/setup-java action to v2 ([ #678 ] ( https://github.com/domaframework/doma/pull/678 ) )
23+ * Update dependency com.diffplug.spotless: com .diffplug.spotless.gradle.plugin to v5.11.1 ([ #676 ] ( https://github.com/domaframework/doma/pull/676 ) )
24+ * Update dependency com.diffplug.eclipse.apt: com .diffplug.eclipse.apt.gradle.plugin to v3.29.0 ([ #674 ] ( https://github.com/domaframework/doma/pull/674 ) )
425
526# [ 2.46.0] ( https://github.com/domaframework/doma/releases/tag/2.46.0 )
627
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ rootProject.apply {
249249 val releaseBody: String by project
250250 val releaseHtmlUrl: String by project
251251 val releaseName: String by project
252- val header = " # [$releaseName ]($releaseHtmlUrl )"
252+ val header = " # [${ releaseName.trim( ' \" ' )} ](${ releaseHtmlUrl.trim( ' \" ' )} )"
253253 val path = file(" CHANGELOG.md" ).toPath()
254254 val lines = java.nio.file.Files .readAllLines(path)
255255 if (lines.none { it.startsWith(header) }) {
@@ -258,7 +258,11 @@ rootProject.apply {
258258 java.nio.file.StandardOpenOption .WRITE ,
259259 java.nio.file.StandardOpenOption .TRUNCATE_EXISTING
260260 )
261- val body = releaseBody.replace(
261+ val body = releaseBody.trim(' "' )
262+ .replace(" \\\" " , " \" " )
263+ .replace(" \\ n" , " \n " )
264+ .replace(" \\ r" , " \r " )
265+ .replace(
262266 " #([0-9]+)" .toRegex(),
263267 """ [$0]\(https://github.com/domaframework/doma/pull/$1\)"""
264268 )
You can’t perform that action at this time.
0 commit comments