Skip to content

Commit

Permalink
feat: Testing OTA preview deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryskoda committed Jan 28, 2025
1 parent 10f81c3 commit 67f09d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,15 @@ jobs:
eas update --auto --channel=preview --message "${{ needs.check-changes.outputs.commit_message }}" --non-interactive
- name: Upload Sourcemaps to Sentry
env:
SENTRY_AUTH_TOKEN: $(eas env:get --variable-name=SENTRY_AUTH_TOKEN --variable-environment=preview | tr -d ' ' | cut -d'=' -f2)
SENTRY_LOG_LEVEL: debug
run: |
# First set the token
export SENTRY_AUTH_TOKEN=$(eas env:get --variable-name=SENTRY_AUTH_TOKEN --variable-environment=preview | tr -d ' ' | cut -d'=' -f2)
# Debug: Print full token and its length
echo "Full token: $SENTRY_AUTH_TOKEN"
echo "Token length: ${#SENTRY_AUTH_TOKEN}"
# Print the exact command output before processing
echo "Raw EAS output:"
eas env:get --variable-name=SENTRY_AUTH_TOKEN --variable-environment=preview
# Run the actual Sentry command
npx sentry-expo-upload-sourcemaps dist
env:
SENTRY_LOG_LEVEL: debug
2 changes: 2 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,5 @@ const useStyles = () => {
[]
);
};

const test = 1;

0 comments on commit 67f09d9

Please sign in to comment.