class TripAdvisor::AdHocBuild
Public Instance Methods
build!()
click to toggle source
# File lib/trip_advisor/build.rb, line 157 def build! say "Creating AdHoc build at path: #{path}" Dir.chdir(path) do update_build_assets pod_update! files = [podspec_file, 'BUILD.json', 'Podfile.lock'] target = commit!(files) say "Committed updates to #{files.join(', ')} (ref: #{target})" tag!(target) say "Tagged build as #{tag_name}" push! say "Pushed to #{remotes.join(', ')}" push_podspec! say "Pushed podspec to spec repository '#{pod_repo}'" update_staging_area(files) end say "Build complete." end
tag_name()
click to toggle source
# File lib/trip_advisor/build.rb, line 180 def tag_name "builds/#{version_prefix}#{version}" end
version()
click to toggle source
# File lib/trip_advisor/build.rb, line 176 def version @version ||= "#{release_version}-b#{info.timestamp}" end