Skip to content

Commit 7050383

Browse files
committed
Correct version string for --version flag
This is going to be a pain to keep bumping for every release, but this change at least gets the correct version in for now.
1 parent e490cb5 commit 7050383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/swift-format/VersionOptions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ struct VersionOptions: ParsableArguments {
1919

2020
func validate() throws {
2121
if version {
22-
// TODO: Use a real version number here.
23-
print("0.0.1")
22+
// TODO: Automate updates to this somehow.
23+
print("0.50200.1")
2424
throw ExitCode.success
2525
}
2626
}

0 commit comments

Comments
 (0)