lib/gonative/commands/ios/publish.rb in gonative-cli-0.7.13 vs lib/gonative/commands/ios/publish.rb in gonative-cli-0.7.14

- old
+ new

@@ -6,13 +6,14 @@ class Publish < Base desc 'Verify, build and release a new version' argument :name, required: true, desc: 'Name of the plugin' option :skip_build, type: :boolean, default: false option :debug, type: :boolean, default: false + option :archs, default: 'x86_64,arm64' - def call(name:, skip_build:, debug:, **) + def call(name:, skip_build:, debug:, archs:, **) Plugins::IOS::Verify.call - Plugins::IOS::BuildFramework.call(name, debug) unless skip_build + Plugins::IOS::BuildFramework.call(name, archs, debug) unless skip_build Plugins::IOS::Release.call end end end end