Skip to content

Commit

Permalink
Correct version string for --version flag
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MPLew-is committed Jun 12, 2020
1 parent e490cb5 commit 7050383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/swift-format/VersionOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ struct VersionOptions: ParsableArguments {

func validate() throws {
if version {
// TODO: Use a real version number here.
print("0.0.1")
// TODO: Automate updates to this somehow.
print("0.50200.1")
throw ExitCode.success
}
}
Expand Down

0 comments on commit 7050383

Please sign in to comment.