Class: GoNative::Commands::Android::Publish

Inherits:
Base
  • Object
show all
Includes:
Helpers::GradleVersionReader
Defined in:
lib/gonative/commands/android/publish.rb

Instance Method Summary collapse

Methods included from Helpers::GradleVersionReader

#gradle_file, #version

Methods inherited from Base

inherited

Instance Method Details

#assert_build_file_exists!Object

Raises:



15
16
17
18
19
# File 'lib/gonative/commands/android/publish.rb', line 15

def assert_build_file_exists!
  return unless gradle_file.empty?

  raise Error, 'No build.gradle file exists'
end

#callObject



10
11
12
13
# File 'lib/gonative/commands/android/publish.rb', line 10

def call
  assert_build_file_exists!
  create_and_push_tag!
end