From c2ff694004dbe766d071598e41b1fa31c97bbcb7 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 21 Nov 2019 05:58:43 +0400 Subject: [PATCH] Bring back deployment --- .gitlab-ci.yml | 24 ++++++++++++------------ buildbox/verify-telegram.sh | 3 +++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01e9d6be44..bf32c59567 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,18 +40,18 @@ beta_testflight: - build/artifacts expire_in: 1 week -#deploy_beta_testflight: -# tags: -# - ios_beta -# stage: deploy -# only: -# - beta -# except: -# - tags -# script: -# - bash buildbox/deploy-telegram.sh appstore -# environment: -# name: testflight_llc +deploy_beta_testflight: + tags: + - ios_beta + stage: deploy + only: + - beta + except: + - tags + script: + - bash buildbox/deploy-telegram.sh appstore + environment: + name: testflight_llc verifysanity_beta_testflight: tags: diff --git a/buildbox/verify-telegram.sh b/buildbox/verify-telegram.sh index 849933f37c..38da0b6949 100644 --- a/buildbox/verify-telegram.sh +++ b/buildbox/verify-telegram.sh @@ -41,3 +41,6 @@ mv "$IPA_PATH" "$VERIFY_PATH" BUCK_HTTP_CACHE="$BUCK_HTTP_CACHE" sh buildbox/build-telegram.sh verify python3 tools/ipadiff.py "$IPA_PATH" "$VERIFY_PATH" + +# No need to upload artifacts if the output matches previous step +rm -rf "$OUTPUT_PATH"