diff --git a/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt b/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt index e59ec96e716..7bd125efb8f 100644 --- a/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt +++ b/.teamcity/builds/apiReferences/stdlib/BuildStdlibApiReference.kt @@ -45,7 +45,7 @@ object BuildStdlibApiReference : BuildType({ dependencies { dependency(AbsoluteId(KOTLIN_CORE_API_BUILD_ID)) { artifacts { - buildRule = lastSuccessful() + buildRule = tag("publish", "*") cleanDestination = true artifactRules = "latest-version.zip!all-libs/** => $PAGES_ROOT/" }