diff --git a/src/main/kotlin/com/intershop/gradle/gitflow/extension/VersionExtension.kt b/src/main/kotlin/com/intershop/gradle/gitflow/extension/VersionExtension.kt index d6ec9ca..8b4a238 100644 --- a/src/main/kotlin/com/intershop/gradle/gitflow/extension/VersionExtension.kt +++ b/src/main/kotlin/com/intershop/gradle/gitflow/extension/VersionExtension.kt @@ -267,7 +267,7 @@ open class VersionExtension @Inject constructor(project: Project, val localVersion: Provider = providerFactory.gradleProperty("localVersion") - versionService.localOnly = localVersion.getOrElse("false").lowercase(Locale.getDefault()) == "true" + versionService.localOnly = localVersion.getOrElse("false").lowercase(Locale.getDefault()).trim() == "true" versionService.isMergeBuild = getValueFor("MERGE_BUILD", "mergeBuild", "false")