# frozen_string_literal: true module GoNative module Commands module IOS class Publish < Base autoload :FileUtils, 'fileutils' desc 'Verify, build and release a new version' option :skip_build, type: :boolean, default: false option :debug, type: :boolean, default: false option :archs, default: 'x86_64,arm64' def call(skip_build:, debug:, archs:, **) Plugins::IOS::Verify.call Plugins::IOS::BuildFramework.call(archs, debug) unless skip_build Plugins::IOS::Release.call end end end end end