Skip to content

Conversation

@owenv
Copy link
Contributor

@owenv owenv commented Dec 8, 2025

This ensures that even if an artifact bundle is downloaded and unpacked without a file extension, the underlying build system can identify it correctly.

Closes #9471
Depends on swiftlang/swift-build#962

I wasn't able to add a test for this because I can only reproduce it with remote packages

@owenv
Copy link
Contributor Author

owenv commented Dec 8, 2025

@swift-ci test

case .unknown:
fileTypeIdentifier = nil
}
return FileReference(id: id, path: (binaryModule.artifactPath.pathString), fileType: fileTypeIdentifier)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: extraneous parens

@owenv
Copy link
Contributor Author

owenv commented Dec 9, 2025

@swift-ci test

@owenv owenv enabled auto-merge (squash) December 9, 2025 17:59
@owenv
Copy link
Contributor Author

owenv commented Dec 9, 2025

@swift-ci test self hosted

1 similar comment
@owenv
Copy link
Contributor Author

owenv commented Dec 9, 2025

@swift-ci test self hosted

@owenv
Copy link
Contributor Author

owenv commented Dec 9, 2025

@swift-ci test Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Parity] Building with ArtifactsBundle still doesn't work with swift build

2 participants