是否可以修改发行说明?我整天都在努力,没有成功。这是我正在使用的python代码:
edit_request = publishApi.edits().insert(body={},packageName=appData._packageName)
result = edit_request.execute()
edit_id = result['id']
trackResponse = publishApi.edits().tracks().update(
editId=edit_id,
track = "production",
packageName = appData._packageName,
body={
'releases':[{
'name':"My release name",
'versionCodes': ["103"],
"status": "draft",
"releaseNotes":
[
{"language": "en-US", "text": "Great release notes!"}
]
}]
}
).execute()
commit_request = publishApi.edits().commit(
editId=edit_id, packageName=appData._packageName).execute()
使用此代码,我可以更改发行版的名称,甚至可以更改其状态,但是发行说明不会更改。我一直在阅读google api文档并在github上检查示例,但似乎没有任何作用。