From 204b6018664d9ab1b2cbcc608adbdc7a1ed9b2fd Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Tue, 28 Mar 2023 21:38:13 +0200 Subject: [PATCH] Add axion-release plugin --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1132b78..d4c50fc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,8 +24,8 @@ scmVersion { "fileUpdate", mapOf( "file" to "README.md", - "pattern" to KotlinClosure2({ previousVersion, _ -> "version $previousVersion" }), - "replacement" to KotlinClosure2({ releaseVersion, _ -> "version $releaseVersion" }), + "pattern" to KotlinClosure2({ previousVersion, _ -> "version \"$previousVersion\"" }), + "replacement" to KotlinClosure2({ releaseVersion, _ -> "version \"$releaseVersion\"" }), ), ) // pre("commit")