ittybittyapps / appstoreconnect-cli

An easy to use command-line tool for interacting with the Apple AppStore Connect API
MIT License
172 stars 17 forks source link

Use beta group from API to refresh tester in getTestFlightProgram #243

Closed DechengMa closed 3 years ago

DechengMa commented 3 years ago

Currently, for test flight sync push command, beta group in removeBetaTesterFromGroups will have an empty app list. Eg.

Beta Tester with email: foo+142@gmail.com will be removed from groups: New Group 3 in apps: 

we can see that apps are missing, this PR is for fixing that

📝 Summary of Changes

Changes proposed in this pull request:

🧐🗒 Reviewer Notes

💁 Example

Before

swift run asc testflight sync push    

Beta Tester with email: foo+142@gmail.com will be removed from groups: New Group 3 in apps: 

After

swift run asc testflight sync push    

Beta Tester with email: foo+142@gmail.com will be removed from groups: New Group 3 in apps: com.example.foo

🔨 How To Test

Remove some testers in a group, then run

swift run asc testflight sync push