message: Choose sentry project based on branch
diff: @@ -16,10 +16,12 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && ("$TRAVIS_BRANCH" == "master" || "$TR
  export INSTALL_DIR=$(pwd)
  curl -sL https://sentry.io/get-cli/ | bash
  + if [ "$TRAVIS_BRANCH" -eq "master" ]; then SENTRY_PROJECT="production"; else SENTRY_PROJECT="staging"; fi
  +
  echo "+ Creating Sentry release and uploading source maps"
  - ./sentry-cli releases -o geli -p staging new $TRAVIS_COMMIT
  - ./sentry-cli releases -o geli -p staging files $TRAVIS_COMMIT upload-sourcemaps app/webFrontend/dist
  - ./sentry-cli releases -o geli -p staging files $TRAVIS_COMMIT upload-sourcemaps --url-prefix /usr/src/app api/build
  + ./sentry-cli releases -o geli -p $SENTRY_PROJECT new $TRAVIS_COMMIT
  + ./sentry-cli releases -o geli -p $SENTRY_PROJECT files $TRAVIS_COMMIT upload-sourcemaps app/webFrontend/dist
  + ./sentry-cli releases -o geli -p $SENTRY_PROJECT files $TRAVIS_COMMIT upload-sourcemaps --url-prefix /usr/src/app api/build
  else
  echo -e "${YELLOW}+ Skipping Sentry - not on develop or master${NC}"
  fi
  