gpt4 book ai didi

azure-devops - 从哪里获取 Azure Pipeline AppCenterDistribute@3 Task destinationStoreId?

转载 作者:行者123 更新时间:2023-12-05 08:51:59 26 4
gpt4 key购买 nike

我正在我们的 Azure DevOps 管道中创建一个自动分发到我们的 AppCenter 以自动发布到 Google Play 商店。

我们管道中到 AppCenter 组的自动分发工作正常,如下所示:

- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'AppCenter'
appSlug: 'mycompany/appname'
appFile: '**/android/bin/nl.mycompany.appname.apk'
symbolsOption: 'Android'
releaseNotesOption: 'input'
releaseNotesInput: 'some comment'
destinationType: 'groups'
distributionGroupId: '813c4695-5f9c-4b10-973e-7awdcsd6'

但我无法使用此功能分发到商店(通过 AppCenter):

- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'AppCenter'
appSlug: 'mycompany/appname'
appFile: '**/android/bin/nl.mycompany.appname.apk'
symbolsOption: 'Android'
releaseNotesOption: 'input'
releaseNotesInput: 'some comment'
destinationType: 'store'
destinationStoreId: 'Alpha'

返回:

Error: Distribution Store with id Alpha does not exist.

知道在 AppCenter 或其他地方哪里可以找到 destinationStoreId 吗?

最佳答案

已记录 here :

使用 API 调用获取 Store 连接 ID;学习how to use the App Center API在文档的其他地方。

使用以下链接调用 API:https://openapi.appcenter.ms/#/distribute/stores_list 使用 查询商店 ID。下面是 API 调用返回的结果示例。您将使用 key ID 的值将商店指定为目标。

[
{"id":"ebb146bc-b0d7-4500-9791-fc02f191bff9",
"name":"Alpha team",
"type":"apple",
"track":"testflight-external",
"created_by":"5114c905-76db-49e5-8a47-58c34b33a38b",
"service_connection_id":"2a85ad1e-b44e-d6fd-a85f-8daee62b54ed"},
{"id":"10ba5942-1388-4b2a-869a-9de40d5c0cff",
"name":"Production",
"type":"apple",
"track":"production",
"created_by":"5114c905-76db-49e5-8a47-58c34b33a38b",
"service_connection_id":"2a85ad1e-b44e-d6fd-a85f-8daee62b54ed"},
{"id":"894dd821-9f16-44a3-b2a7-d513d226babb",
"name":"iTunes Connect users",
"type":"apple",
"track":"testflight-internal",
"created_by":"5114c905-76db-49e5-8a47-58c34b33a38b",
"service_connection_id":"2a85ad1e-b44e-d6fd-a85f-8daee62b54ed"}
]

还要检查那些 GitHub 问题:

https://github.com/microsoftdocs/vsts-docs/issues/5128

https://github.com/MicrosoftDocs/vsts-docs/issues/3997

https://github.com/microsoft/azure-pipelines-tasks/issues/10158

关于azure-devops - 从哪里获取 Azure Pipeline AppCenterDistribute@3 Task destinationStoreId?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57884282/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com