Class: GoNative::Plugins::IOS::Release

Inherits:
Object
  • Object
show all
Extended by:
DSL::Serviceable
Includes:
Helpers::SpecReader
Defined in:
lib/gonative/plugins/ios/release.rb

Constant Summary collapse

GONATIVE_SOURCE_NAME =
'gonative-specs'

Instance Method Summary collapse

Methods included from Helpers::SpecReader

#spec, #spec_name

Instance Method Details

#callObject



14
15
16
17
18
19
20
21
# File 'lib/gonative/plugins/ios/release.rb', line 14

def call
  Utils::UI.info 'Linting and releasing pod'
  assert_spec_exists!
  sources_manager.update(GONATIVE_SOURCE_NAME)
  assert_not_pushed!
  create_and_push_tag!
  push_to_pod_repo!
end