Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/build/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
Some(base_ref_name)
}
Err(e) => {
warn!("Could not detect base branch reference: {}", e);
info!("Could not detect base branch reference: {}", e);
None
}
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk --log-level=error
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk
? success
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
Successfully uploaded 1 file to Sentry
- tests/integration/_fixtures/build/apk.apk (http[..]/wat-org/preprod/wat-project/42)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk --log-level=error
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk
? failed
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
error: Auth token is required for this request. Please run `sentry-cli login` and try again!

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/_cases/build/build-upload-apk.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk --head-sha test_head_sha --log-level=error
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk --head-sha test_head_sha
? success
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
Successfully uploaded 1 file to Sentry
- tests/integration/_fixtures/build/apk.apk (http[..]/wat-org/preprod/wat-project/42)

Expand Down
3 changes: 2 additions & 1 deletion tests/integration/_cases/build/build-upload-ipa.trycmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```
$ sentry-cli build upload tests/integration/_fixtures/build/ipa.ipa --head-sha test_head_sha --log-level=error
$ sentry-cli build upload tests/integration/_fixtures/build/ipa.ipa --head-sha test_head_sha
? success
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
Successfully uploaded 1 file to Sentry
- tests/integration/_fixtures/build/ipa.ipa (http[..]/wat-org/preprod/wat-project/some-text-id)

Expand Down