Skip to content

Commit

Permalink
uncomment symbol upload
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Nov 6, 2023
1 parent cebc411 commit 19fb4eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy_project.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -eox pipefail
set -eo pipefail

# Function to display error message and exit
error_exit() {
Expand All @@ -15,7 +15,7 @@ SENTRY_AUTH_TOKEN_INPUT=${4}

# Build the release bundle
echo "Building the release bundle..."
SENTRY_ORG=$SENTRY_ORG_INPUT SENTRY_PROJECT=$SENTRY_PROJECT_INPUT SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN_INPUT xcodebuild -workspace EmpowerPlant.xcworkspace -scheme EmpowerPlant -configuration Release -derivedDataPath build -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" clean build
SENTRY_ORG=$SENTRY_ORG_INPUT SENTRY_PROJECT=$SENTRY_PROJECT_INPUT SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN_INPUT xcodebuild -workspace EmpowerPlant.xcworkspace -scheme EmpowerPlant -configuration Release -derivedDataPath build -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" -quiet clean build
zip -r EmpowerPlant_release.zip ./build/Build/Products/Release-iphonesimulator/EmpowerPlant.app
ZIP_PATH="./EmpowerPlant_release.zip"

Expand Down
4 changes: 1 addition & 3 deletions upload-symbols.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh

set -x

export PATH="$PATH:/opt/homebrew/bin:/usr/local/bin"

if which sentry-cli >/dev/null; then
Expand Down Expand Up @@ -35,7 +33,7 @@ if which sentry-cli >/dev/null; then
exit 1
fi

# sentry-cli upload-dif --force-foreground --include-sources -o $SENTRY_ORG -p $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN "$DWARF_DSYM_FOLDER_PATH"
sentry-cli upload-dif --force-foreground --include-sources -o $SENTRY_ORG -p $SENTRY_PROJECT --auth-token $SENTRY_AUTH_TOKEN "$DWARF_DSYM_FOLDER_PATH"
else
echo "error: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases"
exit 1
Expand Down

0 comments on commit 19fb4eb

Please sign in to comment.