mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Convert more fastlane tools to swift commands (#5163)
* Upload dSYMs to sentry using swift and the sentry-cli instead of fastlane. * Replace the fastlane `config_production` lane with a swift tools `ConfigureProduction` command. * Replace Zsh with CI.run in the new ConfigureNightly command * Replace the fastlane `tag_nightly` lane with a swift tools `TagNightly` command. * Print out all the commands going through CI.Run and their arguments * Address PR comments
This commit is contained in:
@@ -11,7 +11,9 @@ struct CI: ParsableCommand {
|
||||
UITests.self,
|
||||
IntegrationTests.self,
|
||||
RunTests.self,
|
||||
ConfigureNightly.self
|
||||
ConfigureNightly.self,
|
||||
ConfigureProduction.self,
|
||||
TagNightly.self
|
||||
])
|
||||
|
||||
static let testOutputDirectory = "test_output"
|
||||
@@ -106,6 +108,8 @@ struct CI: ParsableCommand {
|
||||
environment: Environment = .inherit,
|
||||
output: Output = .standardOutput,
|
||||
error: Error = .standardError) async throws -> CollectedResult<Output, Error> {
|
||||
logger.info("Running \(executable), with arguments: \(arguments)")
|
||||
|
||||
let result = try await Subprocess.run(executable,
|
||||
arguments: arguments,
|
||||
environment: environment,
|
||||
|
||||
Reference in New Issue
Block a user