Permalink
Browse files

Fixed notifications via testflight

  • Loading branch information...
1 parent 5c3413e commit 54ff9de7ebc47e1d5f6a023ee17db0e9da41ce9d drewmca committed Apr 16, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugin/src/main/groovy/org/openbakery/TestFlightUploadTask.groovy
@@ -102,7 +102,10 @@ class TestFlightUploadTask extends DefaultTask {
entity.addPart("api_token", new StringBody(project.testflight.apiToken))
entity.addPart("team_token", new StringBody(project.testflight.teamToken))
entity.addPart("notes", new StringBody(project.testflight.notes))
- entity.addPart("distribution_lists", new StringBody(project.testflight.distributionLists))
+ if (project.testflight.distributionLists != null){
+ entity.addPart("distribution_lists", new StringBody(project.testflight.distributionLists))
+ entity.addPart("notify", new StringBody("True"))
+ }
entity.addPart("file", new FileBody(ipaFile))
entity.addPart("dsym", new FileBody(dSYMFile))

0 comments on commit 54ff9de

Please sign in to comment.