Commit 16b94cb
committed
Make "swift-" prefix optional in MainSnapshotParser
Existing tools like `swiftenv` use `DEVELOPMENT-SNAPSHOT-YYYY-mm-dd-a`
for main snapshots, without the `swift-` prefix. The `MainSnapshotParser`
should be able to handle this and this change mirrors the
`ReleaseSnapshotParser` in this regard, which already supports both
`swift-` prefixed and unprefixed versions.1 parent 7b773c7 commit 16b94cb
File tree
2 files changed
+6
-5
lines changed- Sources/SwiftlyCore
- Tests/SwiftlyTests
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
420 | | - | |
421 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments