Skip to content

Instantly share code, notes, and snippets.

@watura
Last active September 27, 2022 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save watura/aa21b584dad363d2f6a10879bb283df4 to your computer and use it in GitHub Desktop.
Save watura/aa21b584dad363d2f6a10879bb283df4 to your computer and use it in GitHub Desktop.
RELEASE_VERSION='0.99.8.1'
curl -L "https://app.magicpod.com/api/v1.0/magicpod-clients/api/mac/latest/" -H "Authorization: Token ${MAGICPOD_API_TOKEN}" --output mac64_magicpod-api-client.zip
unzip -q mac64_magicpod-api-client.zip
FILE_NO=$(xcrun agvtool what-marketing-version -terse1 | xargs -I{} sh -c 'cp -R ${CI_DERIVED_DATA_PATH}/Build/Products/Debug-iphonesimulator/note.app note-{}-$CI_BUILD_ID.app; ./magicpod-api-client upload-app -a note-{}-$CI_BUILD_ID.app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment