app-store-vsts-extension/Tasks/AppStorePromote/task.loc.json

261 строка
7.7 KiB
JSON

{
"id": "CBBF7F14-C386-4C1F-80A3-FE500E2BD976",
"name": "AppStorePromote",
"friendlyName": "ms-resource:loc.friendlyName",
"description": "ms-resource:loc.description",
"helpMarkDown": "ms-resource:loc.helpMarkDown",
"author": "Microsoft Corporation",
"category": "Deploy",
"visibility": [
"Build",
"Release"
],
"demands": [
"xcode"
],
"version": {
"Major": "1",
"Minor": "245",
"Patch": "0"
},
"minimumAgentVersion": "2.182.1",
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
"groups": [
{
"name": "advanced",
"displayName": "ms-resource:loc.group.displayName.advanced",
"isExpanded": false
}
],
"inputs": [
{
"name": "authType",
"type": "pickList",
"label": "ms-resource:loc.input.label.authType",
"defaultValue": "ServiceEndpoint",
"helpMarkDown": "",
"options": {
"ApiKey": "App Store Connect API Key",
"ServiceEndpoint": "Service Connection",
"UserAndPass": "Username and Password"
}
},
{
"name": "serviceEndpoint",
"type": "connectedService:apple-app-store",
"label": "ms-resource:loc.input.label.serviceEndpoint",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.serviceEndpoint",
"visibleRule": "authType = ServiceEndpoint"
},
{
"name": "apiKeyId",
"type": "string",
"label": "ms-resource:loc.input.label.apiKeyId",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.apiKeyId",
"visibleRule": "authType = ApiKey"
},
{
"name": "apiKeyIssuerId",
"type": "string",
"label": "ms-resource:loc.input.label.apiKeyIssuerId",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.apiKeyIssuerId",
"visibleRule": "authType = ApiKey"
},
{
"name": "apitoken",
"type": "string",
"label": "ms-resource:loc.input.label.apitoken",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.apitoken",
"visibleRule": "authType = ApiKey"
},
{
"name": "apiKeyInHouse",
"type": "boolean",
"label": "ms-resource:loc.input.label.apiKeyInHouse",
"defaultValue": false,
"required": false,
"helpMarkDown": "ms-resource:loc.input.help.apiKeyInHouse",
"visibleRule": "authType = ApiKey"
},
{
"name": "username",
"type": "string",
"label": "ms-resource:loc.input.label.username",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.username",
"visibleRule": "authType = UserAndPass"
},
{
"name": "password",
"type": "string",
"label": "ms-resource:loc.input.label.password",
"defaultValue": "",
"isConfidential": true,
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.password",
"visibleRule": "authType = UserAndPass"
},
{
"name": "isTwoFactorAuth",
"type": "boolean",
"label": "ms-resource:loc.input.label.isTwoFactorAuth",
"defaultValue": false,
"required": false,
"helpMarkDown": "ms-resource:loc.input.help.isTwoFactorAuth",
"visibleRule": "authType = UserAndPass"
},
{
"name": "appSpecificPassword",
"type": "string",
"label": "ms-resource:loc.input.label.appSpecificPassword",
"defaultValue": "",
"isConfidential": true,
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.appSpecificPassword",
"visibleRule": "isTwoFactorAuth = true"
},
{
"name": "fastlaneSession",
"type": "string",
"label": "ms-resource:loc.input.label.fastlaneSession",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.fastlaneSession",
"visibleRule": "isTwoFactorAuth = true"
},
{
"name": "appIdentifier",
"type": "string",
"label": "ms-resource:loc.input.label.appIdentifier",
"defaultValue": "",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.appIdentifier"
},
{
"name": "chooseBuild",
"type": "pickList",
"label": "ms-resource:loc.input.label.chooseBuild",
"defaultValue": "Latest",
"helpMarkDown": "",
"options": {
"Latest": "Latest",
"Specify": "Specify build number"
},
"properties": {
"EditableOptions": "True"
}
},
{
"name": "buildNumber",
"type": "string",
"label": "ms-resource:loc.input.label.buildNumber",
"defaultValue": "",
"required": true,
"visibleRule": "chooseBuild = Specify",
"helpMarkDown": "ms-resource:loc.input.help.buildNumber"
},
{
"name": "shouldAutoRelease",
"type": "boolean",
"label": "ms-resource:loc.input.label.shouldAutoRelease",
"required": false,
"defaultValue": false,
"helpMarkDown": "ms-resource:loc.input.help.shouldAutoRelease"
},
{
"name": "teamId",
"type": "string",
"label": "ms-resource:loc.input.label.teamId",
"required": false,
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.teamId"
},
{
"name": "teamName",
"type": "string",
"label": "ms-resource:loc.input.label.teamName",
"required": false,
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.teamName"
},
{
"name": "installFastlane",
"type": "boolean",
"label": "ms-resource:loc.input.label.installFastlane",
"required": false,
"defaultValue": true,
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.installFastlane"
},
{
"name": "fastlaneToolsVersion",
"type": "pickList",
"label": "ms-resource:loc.input.label.fastlaneToolsVersion",
"defaultValue": "LatestVersion",
"options": {
"LatestVersion": "Latest Version",
"SpecificVersion": "Specific Version"
},
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.fastlaneToolsVersion",
"visibleRule": "installFastlane = true"
},
{
"name": "fastlaneToolsSpecificVersion",
"type": "string",
"label": "ms-resource:loc.input.label.fastlaneToolsSpecificVersion",
"defaultValue": "",
"required": true,
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.fastlaneToolsSpecificVersion",
"visibleRule": "fastlaneToolsVersion = SpecificVersion"
},
{
"name": "fastlaneArguments",
"type": "string",
"label": "ms-resource:loc.input.label.fastlaneArguments",
"defaultValue": "",
"required": false,
"groupName": "advanced",
"helpMarkDown": "ms-resource:loc.input.help.fastlaneArguments"
}
],
"execution": {
"Node10": {
"target": "app-store-promote.js",
"argumentFormat": ""
},
"Node16": {
"target": "app-store-promote.js",
"argumentFormat": ""
},
"Node20_1": {
"target": "app-store-promote.js",
"argumentFormat": ""
}
},
"restrictions": {
"commands": {
"mode": "restricted"
},
"settableVariables": {
"allowed": []
}
},
"messages": {
"DarwinOnly": "ms-resource:loc.messages.DarwinOnly",
"UninstallFastlaneFailed": "ms-resource:loc.messages.UninstallFastlaneFailed",
"SuccessfullySubmitted": "ms-resource:loc.messages.SuccessfullySubmitted",
"FastlaneSessionEmpty": "ms-resource:loc.messages.FastlaneSessionEmpty",
"PrecheckInAppPurchasesDisabled": "ms-resource:loc.messages.PrecheckInAppPurchasesDisabled"
}
}