Class: Supply::Reader
- Inherits:
-
Object
- Object
- Supply::Reader
- Defined in:
- supply/lib/supply/reader.rb
Instance Method Summary collapse
Instance Method Details
#track_version_codes ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'supply/lib/supply/reader.rb', line 3 def track_version_codes track = Supply.config[:track] client.begin_edit(package_name: Supply.config[:package_name]) version_codes = client.track_version_codes(track) client.abort_current_edit if version_codes.empty? UI.important("No version codes found in track '#{track}'") else UI.success("Found '#{version_codes.join(', ')}' version codes in track '#{track}'") end version_codes end |