Skip to content

Commit f0cd145

Browse files
Merge pull request #1138 from SwiftFiddle/swift621
Add Swift 6.2.1
2 parents d0860ed + f7267fa commit f0cd145

File tree

5 files changed

+136
-146
lines changed

5 files changed

+136
-146
lines changed

.vscode/launch.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,22 @@
55
"request": "launch",
66
"sourceLanguages": ["swift"],
77
"name": "Debug App",
8-
"program": "${workspaceFolder:swiftfiddle-web}/.build/debug/App",
98
"args": [],
109
"cwd": "${workspaceFolder:swiftfiddle-web}",
11-
"preLaunchTask": "swift: Build Debug App"
10+
"preLaunchTask": "swift: Build Debug App",
11+
"target": "App",
12+
"configuration": "debug"
1213
},
1314
{
1415
"type": "swift",
1516
"request": "launch",
1617
"sourceLanguages": ["swift"],
1718
"name": "Release App",
18-
"program": "${workspaceFolder:swiftfiddle-web}/.build/release/App",
1919
"args": [],
2020
"cwd": "${workspaceFolder:swiftfiddle-web}",
21-
"preLaunchTask": "swift: Build Release App"
21+
"preLaunchTask": "swift: Build Release App",
22+
"target": "App",
23+
"configuration": "release"
2224
},
2325
{
2426
"type": "lldb",

Package.resolved

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Public/js/runner.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,18 @@ export class Runner {
9999
case "6.0.2":
100100
case "6.0.3":
101101
case "6.1":
102-
case "6.1.1": {
102+
case "6.1.1":
103+
case "6.1.2":
104+
case "6.1.3":
105+
case "6.2": {
103106
const suffix = version.split(".").join("");
104107
return `https://swiftfiddle-runner-functions-${suffix}.blackwater-cac8eec1.westus2.azurecontainerapps.io/runner/${version}/run`;
105108
}
106109
case "5.10.1": {
107110
const suffix = version.split(".").join("");
108111
return `https://swiftfiddle-runner-functions${suffix}.blackwater-cac8eec1.westus2.azurecontainerapps.io/runner/${version}/run`;
109112
}
110-
case "6.1.2": {
113+
case "6.2.1": {
111114
return `https://runner.swift-playground.com/runner/${version}/run`;
112115
}
113116

Sources/App/versions.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22

33
func latestVersion() throws -> String { try availableVersions()[0] }
4-
func stableVersion() -> String { "6.1.2" }
4+
func stableVersion() -> String { "6.2.1" }
55

66
func availableVersions() throws -> [String] {
77
[
@@ -17,6 +17,9 @@ func availableVersions() throws -> [String] {
1717
"nightly-5.5",
1818
"nightly-5.4",
1919
"nightly-5.3",
20+
"6.2.1",
21+
"6.2",
22+
"6.1.3",
2023
"6.1.2",
2124
"6.1.1",
2225
"6.1",

0 commit comments

Comments
 (0)