Skip to content

Commit 7970ac3

Browse files
committed
Prepare 5.9 release.
1 parent e78eeb3 commit 7970ac3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ will still not be able to recognize new syntax added in later versions of the
2929
language and parser.
3030

3131
Note also that the version numbering scheme has changed to match
32-
SwiftSyntax; the 5.8 release of swift-format is `508.0.0`, not `0.50800.0`.
32+
SwiftSyntax; the 5.8 release of swift-format is `508.0.0`, not `0.50800.0`,
33+
and future versions are also expressed this way.
3334

3435
### Swift 5.7 and earlier
3536

@@ -65,7 +66,7 @@ then once you have identified the version you need, you can check out the
6566
source and build it using the following commands:
6667

6768
```sh
68-
VERSION=508.0.0 # replace this with the version you need
69+
VERSION=509.0.0 # replace this with the version you need
6970
git clone https://github.com/apple/swift-format.git
7071
cd swift-format
7172
git checkout "tags/$VERSION"

Sources/swift-format/VersionOptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct VersionOptions: ParsableArguments {
2020
func validate() throws {
2121
if version {
2222
// TODO: Automate updates to this somehow.
23-
print("508.0.0")
23+
print("509.0.0")
2424
throw ExitCode.success
2525
}
2626
}

0 commit comments

Comments
 (0)