mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 04:39:19 -06:00
custom update_track method
This commit is contained in:
parent
05a026cd23
commit
2a014d76f3
@ -95,4 +95,20 @@ module Supply
|
|||||||
UI.message("confirmed that update_track was reached: #{Supply.config[:track_promote_to]} #{release}")
|
UI.message("confirmed that update_track was reached: #{Supply.config[:track_promote_to]} #{release}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
class Client
|
||||||
|
def update_track(track_name, track_object)
|
||||||
|
UI.verbose("Using custom `update_track` method.")
|
||||||
|
ensure_active_edit!
|
||||||
|
|
||||||
|
UI.verbose("name:#{track_name} object:#{track_object} package:#{current_package_name}")
|
||||||
|
call_google_api do
|
||||||
|
client.update_edit_track(
|
||||||
|
current_package_name,
|
||||||
|
current_edit.id,
|
||||||
|
track_name,
|
||||||
|
track_object
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user