From 03c3b91c1c2d8883eb1e82853b3fb356ffae2b89 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Tue, 28 May 2019 07:13:11 +0800 Subject: [PATCH] fix build for unsigned and ios-sim-x86_64 (#2834) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9940d25bf..8de728c70 100644 --- a/Makefile +++ b/Makefile @@ -199,7 +199,7 @@ unsigned-ios: stop pre-build check-style ## Build an unsigned version of the iOS @cd ios/ && xcodebuild -workspace Mattermost.xcworkspace/ -scheme Mattermost -sdk iphoneos -configuration Release -parallelizeTargets -resultBundlePath ../build-ios/result -derivedDataPath ../build-ios/ CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO @cd build-ios/ && mkdir -p Payload && cp -R Build/Products/Release-iphoneos/Mattermost.app Payload/ && zip -r Mattermost-unsigned.ipa Payload/ @mv build-ios/Mattermost-unsigned.ipa . - @cd fastlane && bundle exec fastlane upload_file_to_s3 filename:Mattermost-unsigned.ipa os_type:iOS + @cd fastlane && bundle exec fastlane upload_file_to_s3 file:Mattermost-unsigned.ipa os_type:iOS @rm -rf build-ios/ $(call stop_packager) @@ -212,7 +212,7 @@ ios-sim-x86_64: stop pre-build check-style ## Build an unsigned x86_64 version o @cd build-ios/Build/Products/Release-iphonesimulator/ && zip -r Mattermost-simulator-x86_64.app.zip Mattermost.app/ @mv build-ios/Build/Products/Release-iphonesimulator/Mattermost-simulator-x86_64.app.zip . @rm -rf build-ios/ - @cd fastlane && bundle exec fastlane upload_file_to_s3 filename:Mattermost-simulator-x86_64.app.zip os_type:iOS + @cd fastlane && bundle exec fastlane upload_file_to_s3 file:Mattermost-simulator-x86_64.app.zip os_type:iOS $(call stop_packager) unsigned-android: stop pre-build check-style prepare-android-build ## Build an unsigned version of the Android app @@ -220,7 +220,7 @@ unsigned-android: stop pre-build check-style prepare-android-build ## Build an u @echo "Building unsigned Android app" @cd fastlane && NODE_ENV=production bundle exec fastlane android unsigned @mv android/app/build/outputs/apk/unsigned/app-unsigned-unsigned.apk ./Mattermost-unsigned.apk - @cd fastlane && bundle exec fastlane upload_file_to_s3 filename:Mattermost-unsigned.apk os_type:Android + @cd fastlane && bundle exec fastlane upload_file_to_s3 file:Mattermost-unsigned.apk os_type:Android $(call stop_packager) test: | pre-run check-style ## Runs tests