From 23c54f170ea07d3a969caec32990b7d79371712e Mon Sep 17 00:00:00 2001 From: Avinash Lingaloo Date: Thu, 6 Oct 2022 13:38:50 +0400 Subject: [PATCH] updates config.yml Update config.yml bypass build android for testing purposes Update config.yml Update config.yml Update config.yml Update config.yml Revert "Update config.yml" This reverts commit 67525b755cd452842d826c642adf8fb7990dbe12. Update config.yml Update config.yml Update config.yml Update config.yml Update config.yml Update config.yml Update config.yml Update config.yml --- .circleci/config.yml | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 26abd2d44c..e583f1cb36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -384,14 +384,17 @@ jobs: SENTRY_PROJECT: $SENTRY_PROJECT SENTRY_ENVIRONMENT: production steps: + - checkout: + path: ~/mattermost-mobile - run: name: Create release and notify Sentry of deploy command: | - curl -sL https://sentry.io/get-cli/ | bash - export SENTRY_RELEASE=$(sentry-cli releases propose-version) - sentry-cli releases new -p $SENTRY_PROJECT $SENTRY_RELEASE + curl -sL https://sentry.io/get-cli/ + export SENTRY_LOG_LEVEL=debug + export SENTRY_RELEASE="445" + sentry-cli releases new --project $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN $SENTRY_RELEASE sentry-cli releases set-commits $SENTRY_RELEASE --auto - sentry-cli releases files $SENTRY_RELEASE upload-sourcemaps path-to-sourcemaps-if-applicable + sentry-cli releases files $SENTRY_RELEASE upload-sourcemaps ./ sentry-cli releases finalize $SENTRY_RELEASE sentry-cli releases deploys $SENTRY_RELEASE new -e $SENTRY_ENVIRONMENT @@ -583,23 +586,23 @@ workflows: - /^build-ios-\d+$/ - /^build-ios-beta-\d+$/ - - build-android-pr: - context: - - mattermost-mobile-android-pr - - mattermost-mobile-sentry - requires: - - test - filters: - branches: - only: /^(build|android)-pr-.*/ +# - build-android-pr: +# context: +# - mattermost-mobile-android-pr +# - mattermost-mobile-sentry +# requires: +# - test +# filters: +# branches: +# only: /^(build|android)-pr-.*/ - notify-sentry-deploy: context: - mattermost-mobile-android-pr - mattermost-mobile-sentry - requires: - - test - - build-android-pr +# requires: +# - test +## - build-android-pr filters: branches: only: /^(build|android)-pr-.*/