-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed3f297
commit d81aedc
Showing
5 changed files
with
59 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# 0.6.0 | ||
|
||
# Feat: | ||
- Better config for testflight upload | ||
|
||
# 0.5.1 - 0.5.3 | ||
|
||
# Fix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
lib/src/integrations/testflight/model/testflight_credentials.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import 'package:impaktfull_cli/src/core/model/data/secret.dart'; | ||
|
||
class TestFlightCredentials { | ||
/// username/email to login to appstoreconnect | ||
/// defaults to env variable value of `APPLE_EMAIL` | ||
final String? userName; | ||
|
||
/// appSpecificPassword to login to appstoreconnect | ||
/// defaults to env variable value of `APPLE_APP_SPECIFIC_PASSWORD` | ||
final Secret? appSpecificPassword; | ||
|
||
const TestFlightCredentials({ | ||
this.userName, | ||
this.appSpecificPassword, | ||
}); | ||
} |
18 changes: 6 additions & 12 deletions
18
lib/src/integrations/testflight/model/testflight_upload_config.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
import 'package:impaktfull_cli/src/core/model/data/secret.dart'; | ||
import 'package:impaktfull_cli/src/integrations/testflight/model/testflight_credentials.dart'; | ||
|
||
class TestflightUploadConfig { | ||
/// username/email to login to appstoreconnect | ||
/// defaults to env variable value of `APPLE_EMAIL` | ||
final String? userName; | ||
|
||
/// appSpecificPassword to login to appstoreconnect | ||
/// defaults to env variable value of `APPLE_APP_SPECIFIC_PASSWORD` | ||
final Secret? appSpecificPassword; | ||
class TestFlightUploadConfig { | ||
/// credentials to login to appstoreconnect | ||
final TestFlightCredentials? credentials; | ||
|
||
/// type of the app to upload | ||
/// default: `ios` | ||
final String type; | ||
|
||
const TestflightUploadConfig({ | ||
this.userName, | ||
this.appSpecificPassword, | ||
const TestFlightUploadConfig({ | ||
this.credentials, | ||
this.type = 'ios', | ||
}); | ||
} |