Skip to content

Commit

Permalink
use release properties (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino authored Apr 30, 2020
1 parent 6670b73 commit d0a8caa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,8 @@ checkParameters "$@"
printTitle

if [ "$MODE" == "release" ]; then
if [ "$PRE_RELEASE" = false ]; then
checkAuthToken 'sentry.release.properties'
export SENTRY_PROPERTIES="${REPO_ROOT_DIR}/sentry.release.properties"
else
checkAuthToken 'sentry.debug.properties'
export SENTRY_PROPERTIES="${REPO_ROOT_DIR}/sentry.debug.properties"
fi
checkAuthToken 'sentry.release.properties'
export SENTRY_PROPERTIES="${REPO_ROOT_DIR}/sentry.release.properties"
if [ -z "$METAMASK_ENVIRONMENT" ]; then
printError "Missing METAMASK_ENVIRONMENT; set to 'production' for a production release, 'prerelease' for a pre-release, or 'local' otherwise"
exit 1
Expand Down

0 comments on commit d0a8caa

Please sign in to comment.