Skip to content

Instantly share code, notes, and snippets.

@karm435
Created November 27, 2020 03:29
Show Gist options
  • Save karm435/13fcd618d28aafb1c49acd40ca2a382c to your computer and use it in GitHub Desktop.
Save karm435/13fcd618d28aafb1c49acd40ca2a382c to your computer and use it in GitHub Desktop.
ios deployment
parameters:
- name: appIdentifier
type: string
- name: artifactName
type: string
- name: serverEndpoint
type: string
steps:
- download: current
artifact: ${{parameters.artifactName}}
- script: |
ls '$(Pipeline.Workspace)/${{parameters.artifactName}}'
displayName: 'print the path to downloaded folder'
- script: |
sudo xcode-select -r
xcrun altool --upload-app -f '$(Pipeline.Workspace)/${{parameters.artifactName}}/App.ipa' -t ios -u $(ios_appstore_useremail) -p $(staging_ios_app_specific_password)
displayName: 'upload the ipa to AppStore'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment