File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6767 ls -la test_artifacts/ || echo "No test_artifacts directory found"
6868
6969 echo "=== Running sentry-cli build upload with debug logging ==="
70- echo "Command: ./target/release/sentry-cli --log-level debug --org test-org --project test-project build upload test_artifacts/app-debug.apk"
70+ echo "Command: ./target/release/sentry-cli --log-level debug --auth-token dummy_token_for_testing build -o test-org -p test-project upload test_artifacts/app-debug.apk"
7171 echo ""
7272 echo "🔍 WATCH FOR DEBUG LOGS BELOW:"
7373 echo "Expected debug log: 'Using GitHub Actions PR head SHA from event payload: ${{ github.event.pull_request.head.sha }}'"
7676
7777 # Test the CLI's head-sha detection with debug logging enabled
7878 # Using a dummy auth token to get past auth check and reach the head-sha detection logic
79- ./target/release/sentry-cli --log-level debug --auth-token dummy_token_for_testing --org test-org --project test-project build upload test_artifacts/app-debug.apk || true
79+ ./target/release/sentry-cli --log-level debug --auth-token dummy_token_for_testing build -o test-org -p test-project upload test_artifacts/app-debug.apk || true
8080
8181 echo "--- CLI OUTPUT END ---"
8282
9696 unset GITHUB_EVENT_NAME
9797
9898 echo "Running CLI without GitHub Actions context (with debug logging)..."
99- ./target/release/sentry-cli --log-level debug --auth-token dummy_token_for_testing --org test-org --project test-project build upload test_artifacts/app-debug.apk || true
99+ ./target/release/sentry-cli --log-level debug --auth-token dummy_token_for_testing build -o test-org -p test-project upload test_artifacts/app-debug.apk || true
100100
101101 echo ""
102102 echo "Expected: Should fall back to 'git rev-parse HEAD'"
You can’t perform that action at this time.
0 commit comments