diff --git a/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt b/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt index ed9dc1d13eb..74e26bbffc6 100644 --- a/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt +++ b/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt @@ -31,14 +31,14 @@ object BuildStdlibApiReference : BuildType({ dependencies { dependency(AbsoluteId("Kotlin_KotlinRelease_1920_LibraryReferenceLatestDocs")) { - snapshot { - reuseBuilds = ReuseBuilds.SUCCESSFUL - onDependencyFailure = FailureAction.FAIL_TO_START - } - artifacts { - cleanDestination = true - artifactRules = "+:latest-version.zip!** => content/" - } + artifacts { + buildRule = tag(tag = "publish", branch = """ + +: + +:* + """.trimIndent()) + cleanDestination = true + artifactRules = "+:latest-version.zip!** => content/" + } } } })