Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ struct ProjectToOutputCommand: AsyncParsableCommand {
for: changes,
warnings: warnings,
allTargets: projectBuilderResult.swiftInterfaceFiles.map(\.name).sorted(),
oldVersionName: oldSource.description,
newVersionName: newSource.description
oldVersionName: oldSource.title,
newVersionName: newSource.title
)

// MARK: -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,13 @@ public enum ProjectSource: Equatable, CustomStringConvertible {
return "\(repository) @ \(branch)"
}
}

public var title: String {
switch self {
case let .local(path):
return path
case let .git(branch, _):
return "\(branch)"
}
}
}
Loading