diff --git a/buildSrc/src/main/kotlin/release.gradle.kts b/buildSrc/src/main/kotlin/release.gradle.kts index 7ceca43f6..31e49b83e 100644 --- a/buildSrc/src/main/kotlin/release.gradle.kts +++ b/buildSrc/src/main/kotlin/release.gradle.kts @@ -66,6 +66,8 @@ fun archiveDocumentation(version: String) { from("docs") into("docs/$version") exclude("_*", "Gemfile*") + val versionRegex = "^\\d+.\\d+.\\d+$".toRegex() + exclude { versionRegex.matches(it.name) } } val text = """