lib/gonative/commands/ios/publish.rb in gonative-cli-0.7.17 vs lib/gonative/commands/ios/publish.rb in gonative-cli-0.8.0

- old
+ new

@@ -2,18 +2,19 @@ module GoNative module Commands module IOS class Publish < Base + autoload :FileUtils, 'fileutils' 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:, archs:, **) + def call(skip_build:, debug:, archs:, **) + FileUtils.cd('/Users/hunaidhassan/Projects/gonative/AuthPlugin') Plugins::IOS::Verify.call - Plugins::IOS::BuildFramework.call(name, archs, debug) unless skip_build + Plugins::IOS::BuildFramework.call(archs, debug) unless skip_build Plugins::IOS::Release.call end end end end