iosflutterazure-pipelinestestflight

How to set the build number in AppStoreRelease@1


Is there a way to change the build name in AppStoreRelease@1 task? I couldn't find a way to increment it nor set a value. This is the task I've written in Azure pipelines:

- task: AppStoreRelease@1
    displayName: 'Publish to the App Store TestFlight track'
    inputs:
      serviceEndpoint: 'Testflight upload'
      appIdentifier: 'com.sample.org'
      ipaPath: '$(build.artifactstagingdirectory)/**/*.ipa'
      releaseTrack: 'TestFlight'
      appType: 'iOS'
      shouldSkipWaitingForProcessing: true
      shouldSkipSubmission: true

Is there any attribute where I can set the build number?


Solution

  • It takes the build version we set using ios-bundle-version@1 task. So it will publish the build in testflight with the same version code.