Allows automation to publish to Google Play
parent
6a56a2c443
commit
b1f168c5ad
|
@ -37,8 +37,7 @@ ext {
|
|||
// minute.
|
||||
def time = new SimpleDateFormat("HHmm").format(today)
|
||||
|
||||
// todo after first build is deployed to Google Play generatedVersionCode = (year + day + time) as int
|
||||
generatedVersionCode = 1
|
||||
generatedVersionCode = (year + day + time) as int
|
||||
|
||||
println("Generated versionCode: $generatedVersionCode")
|
||||
println()
|
||||
|
|
|
@ -120,12 +120,11 @@ def nightly(apks, track, commit, date_string):
|
|||
task_graph[sign_task_id] = {}
|
||||
task_graph[sign_task_id]['task'] = queue.task(sign_task_id)
|
||||
|
||||
# TODO enable once first apk uploaded to Google Play manually
|
||||
# push_task_id, push_task = generate_push_task(sign_task_id, apks, commit, is_staging)
|
||||
# lib.tasks.schedule_task(queue, push_task_id, push_task)
|
||||
#
|
||||
# task_graph[push_task_id] = {}
|
||||
# task_graph[push_task_id]['task'] = queue.task(push_task_id)
|
||||
push_task_id, push_task = generate_push_task(sign_task_id, apks, commit, is_staging)
|
||||
lib.tasks.schedule_task(queue, push_task_id, push_task)
|
||||
|
||||
task_graph[push_task_id] = {}
|
||||
task_graph[push_task_id]['task'] = queue.task(push_task_id)
|
||||
|
||||
print(json.dumps(task_graph, indent=4, separators=(',', ': ')))
|
||||
|
||||
|
|
Loading…
Reference in New Issue