CPP-48943 [build-scripts] skip publishing the plugin-classpath.txt in cross-platform SDK

plugin-classpath.txt was published copied from TC build artifacts. They are not cross-platform.

Merge-request: IJ-MR-194100
Merged-by: Zakhar Kaval <Zakhar.Koval@jetbrains.com>

(cherry picked from commit 02dfd2a2892ab7dbe6e381060331406fbf8fb43e)

IJ-CR-194698

GitOrigin-RevId: 1f073805a0a1e73316ba28ee5dd12841a8cec45c
This commit is contained in:
Zakhar Koval
2026-03-05 19:59:33 +00:00
committed by intellij-monorepo-bot
parent d0c1d4f525
commit 2ac43850a8
@@ -1169,6 +1169,10 @@ private suspend fun crossPlatformZip(
// Linux and Windows: we don't add specific dist dirs for ARM, so, copy dist files explicitly
// macOS: we don't copy dist files to avoid extra copy operation
val content = distFile.content
// Skip OS-specific plugin-classpath.txt; not published in cross-platform SDK
if (distFile.relativePath == PLUGIN_CLASSPATH && distFile.os != null) continue
if (zipFileUniqueGuard.putIfAbsent(distFile.relativePath, content) == null) {
when (content) {
is LocalDistFileContent -> out.entry(distFile.relativePath, content.file)