* 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
13 lines
400 B
Swift
13 lines
400 B
Swift
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"))
|
|
}
|
|
}
|