diff options
| author | Emīls <emils@mullvad.net> | 2023-06-13 16:46:47 +0200 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2023-08-31 12:55:50 +0200 |
| commit | 1372db81edfe2d18bcaf7684f4a8f23f205c06f8 (patch) | |
| tree | 2871f084c33e46084b7e4eee344fd5cf774c16ac /ios | |
| parent | 2674538fbaab8b139b20431f2678e0111f8013ae (diff) | |
| download | mullvadvpn-1372db81edfe2d18bcaf7684f4a8f23f205c06f8.tar.xz mullvadvpn-1372db81edfe2d18bcaf7684f4a8f23f205c06f8.zip | |
Add buildscripts for CI
Diffstat (limited to 'ios')
| -rwxr-xr-x | ios/build.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ios/build.sh b/ios/build.sh index 406cd5738b..647aee9f80 100755 --- a/ios/build.sh +++ b/ios/build.sh @@ -10,17 +10,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Verify environment configuration ########################################### -if [[ -z ${IOS_APPLE_ID-} ]]; then - echo "The variable IOS_APPLE_ID is not set." - exit 1 -fi - -if [[ -z ${IOS_APPLE_ID_PASSWORD-} ]]; then - echo "The variable IOS_APPLE_ID_PASSWORD is not set." - read -sp "IOS_APPLE_ID_PASSWORD = " IOS_APPLE_ID_PASSWORD - echo "" - export IOS_APPLE_ID_PASSWORD -fi # Provisioning profiles directory if [[ -z ${IOS_PROVISIONING_PROFILES_DIR-} ]]; then @@ -122,20 +111,3 @@ xcodebuild \ -archivePath "$XCODE_ARCHIVE_DIR" \ -exportOptionsPlist "$EXPORT_OPTIONS_PATH" \ -exportPath "$BUILD_OUTPUT_DIR" - - -########################################### -# Deploy to AppStore -########################################### - -if [[ "${1:-""}" == "--deploy" ]]; then - xcrun altool \ - --upload-app --verbose \ - --type ios \ - --file "$IPA_PATH" \ - --username "$IOS_APPLE_ID" \ - --password "$IOS_APPLE_ID_PASSWORD" -else - echo "Deployment to AppStore will not be performed." - echo "Run with --deploy to upload the binary." -fi |
