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:
Stefan Ceriu
2026-03-05 16:14:09 +02:00
committed by GitHub
parent 51194c09e2
commit e23959a201
10 changed files with 133 additions and 85 deletions
@@ -0,0 +1,12 @@
import ArgumentParser
import CommandLineTools
import Foundation
struct ConfigureProduction: AsyncParsableCommand {
static let configuration = CommandConfiguration(abstract: "Configures the project for a production build.")
func run() async throws {
try await CI.run(.name("swift"), ["run", "pipeline", "update-foss-secrets"])
try await CI.run(.name("xcodegen"))
}
}