microsoft / app-store-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the App Store store from your automated CI builds
Other
94 stars 53 forks source link

Unable to release .ipa file to beta external groups in testflight #338

Open arpitmishra-eaton opened 10 months ago

arpitmishra-eaton commented 10 months ago

Hi Team - we are publishing an app to Testflight channel (external groups) from Azure pipelines and receiving an error "Error: 'What to Test?' is required when using 'Distribute to External Testers'."

Here is my yml script.

task: AppStoreRelease@1 inputs: authType: 'ApiKey' apiKeyId: $(API-key-id) apiKeyIssuerId: $(Issuer ID) apitoken: $(authkey64) releaseTrack: 'TestFlight' appIdentifier: 'com.eaton.abc' appType: 'iOS' releaseNotes: '$(System.DefaultWorkingDirectory)/ios/release_Notes.json' ipaPath: '$(build.artifactstagingdirectory)/*/.ipa' distributedToExternalTesters: true externalTestersGroups: 'abc groups' appSpecificId: '123' Please help me with this. what needs to be configured in the release notes option?

arpitmishra-eaton commented 10 months ago

attached the logs image

aleksandrlevochkin commented 10 months ago

Hi @arpitmishra-eaton, judging by the source code this error is thrown when the usingReleaseNotes variable is false: https://github.com/microsoft/app-store-vsts-extension/blob/319504e83d9029bf3aae4c2b4d447e36cdf15f46/Tasks/AppStoreRelease/app-store-release.ts#L319C21-L321C22

usingReleaseNotes is previously assigned to the result of the function isValidFilePath: https://github.com/microsoft/app-store-vsts-extension/blob/319504e83d9029bf3aae4c2b4d447e36cdf15f46/Tasks/AppStoreRelease/app-store-release.ts#L301C23-L301C23

Most likely the issue is that the file path to release notes that you provide is incorrect. Could you please doublecheck that?

arpitmishra-eaton commented 10 months ago

@aleksandrlevochkin I checked the path, and it is correct. blocked here, what could be the cause? even we specify another path, we are getting the same issue.

arpitmishra-eaton commented 10 months ago

@aleksandrlevochkin it seems, i don't have an access to write the release notes in Testflight as "what to test" option is disabled for me, cant edit.

could it be the case to not able to publish the app to testflight? however still wondering that even if i dont have the access to modify the "what to test", it should trigger the pipeline. but it is showing the configuration error.

vaniapereira commented 5 months ago

I have exactly the same error: Error: 'What to Test?' is required when using 'Distribute to External Testers'