Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ function Get-Dependencies {

# TODO(compnerd) stamp/validate that we need to re-extract
New-Item -ItemType Directory -ErrorAction Ignore $BinaryCache\toolchains | Out-Null
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain.TrimStart("swift-").TrimEnd("-a-windows10")
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain.TrimStart("swift-").TrimEnd("-arm64").TrimEnd("-a-windows10")
Copy link
Member

Choose a reason for hiding this comment

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

A regex wouldn't be bad. I've seen some oddities with the current implementation (using installer.exe locally gives nstaller for the name). I think that doing that subsequently would be a good balance - clean up the behaviour but unblock usage.

Write-Success "Swift Toolchain $PinnedVersion"

if ($Android) {
Expand Down