File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128
128
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131
- # Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132
- # $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
133
131
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
134
- $SWIFT_URL = "\" https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe \" " ; \
132
+ $SWIFT_URL = "\" https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download) \" " ; \
135
133
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
136
134
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
137
135
Write-Host '✓' ; \
Original file line number Diff line number Diff line change @@ -128,10 +128,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128
128
129
129
# Install Swift toolchain.
130
130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131
- # Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132
- # $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
133
131
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
134
- $SWIFT_URL = "\" https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe \" " ; \
132
+ $SWIFT_URL = "\" https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download) \" " ; \
135
133
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
136
134
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
137
135
Write-Host '✓' ; \
You can’t perform that action at this time.
0 commit comments