-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#492] Create SetUpTestTestFlight.swift
Remove set_up_test_test_flight.sh Update workflow to use the SetUpTestTestFlight.swift
- Loading branch information
1 parent
da4526d
commit cba1e35
Showing
3 changed files
with
17 additions
and
13 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
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 @@ | ||
let teamIdPlaceholder = "<#teamId#>" | ||
let apiKeyIdPlaceholder = "<#API_KEY_ID#>" | ||
let issuerIdPlaceholder = "<#ISSUER_ID#>" | ||
let matchRepoPlaceholder = "[email protected]:{organization}/{repo}.git" | ||
|
||
let envMatchRepo = ProcessInfo.processInfo.environment["MATCH_REPO"] ?? "" | ||
let envApiKey = ProcessInfo.processInfo.environment["API_KEY_ID"] ?? "" | ||
let envIssuerId = ProcessInfo.processInfo.environment["ISSUER_ID"] ?? "" | ||
let envTeamId = ProcessInfo.processInfo.environment["TEAM_ID"] ?? "" | ||
|
||
let fileManager = FileManager.default | ||
|
||
fileManager.replaceAllOccurrences(of: teamIdPlaceholder, to: envTeamId) | ||
fileManager.replaceAllOccurrences(of: apiKeyIdPlaceholder, to: envApiKey) | ||
fileManager.replaceAllOccurrences(of: issuerIdPlaceholder, to: envIssuerId) | ||
fileManager.replaceAllOccurrences(of: matchRepoPlaceholder, to: envMatchRepo) |
This file was deleted.
Oops, something went wrong.