Skip to content

Commit 8f8b39b

Browse files
committed
make BetaGroup extend to Sync Protocols
1 parent 99c213e commit 8f8b39b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Sources/AppStoreConnectCLI/Model/BetaGroup.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ extension BetaGroup: Equatable, Hashable {
8484
}
8585
}
8686

87+
extension BetaGroup: SyncResultRenderable {
88+
var syncResultText: String {
89+
self.groupName ?? "group-name"
90+
}
91+
}
92+
93+
extension BetaGroup: FileNameGettable {
94+
var fileName: String {
95+
"\(app.name ?? "")_\(groupName ?? "group-name")"
96+
}
97+
}
98+
8799
extension AppStoreConnectService {
88100
private enum BetaGroupError: LocalizedError {
89101
case betaGroupNotFound(groupNames: [String])

0 commit comments

Comments
 (0)