Skip to content

Commit

Permalink
Set version as latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marinofelipe committed Jan 28, 2024
1 parent de9c4e7 commit c7b5221
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Run/SwiftPackageInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ extension ParsableCommand {

if let latestTag {
Console.default.lineBreakAndWrite("Defaulting to latest found tag: \(latestTag)")
swiftPackage.version = latestTag
}
case .valid:
break
Expand Down

0 comments on commit c7b5221

Please sign in to comment.