Call the pipeline from within swift tools instead of through fastlane.

This commit is contained in:
Stefan Ceriu
2026-02-26 15:44:52 +02:00
committed by Stefan Ceriu
parent c516074648
commit 0d5f0b1593
5 changed files with 20 additions and 18 deletions
+2 -7
View File
@@ -2,11 +2,6 @@ require 'yaml'
skip_docs
enterprise = '../Enterprise/Pipeline/Scripts/iOS/Fastfile'
if File.exist?(enterprise)
import enterprise
end
simulator_version = "26.1"
before_all do
@@ -125,7 +120,7 @@ lane :integration_tests do
end
lane :config_production do
update_foss_secrets()
sh("(cd .. && swift run pipeline update-foss-secrets)")
xcodegen(spec: "project.yml")
end
@@ -141,7 +136,7 @@ lane :config_nightly do |options|
data["include"].append({ "path" => "Variants/Nightly/nightly.yml" })
end
update_foss_secrets()
sh("(cd .. && swift run pipeline update-foss-secrets)")
File.open(target_file_path, 'w') { |f| YAML.dump(data, f) }