Skip to content

"Uploading files failed!" doesn't fail CI (exit code not 0) #3852

@kubukoz

Description

@kubukoz

Version(s)

1.8.5 (as installed by the github action)

Describe the bug

This happened in CI: I had a publish whose logs end with

Uploading files failed!
Possible causes:
- incorrect Sonatype credentials
- incorrect Sonatype server was used, try 'central-s01'
 -> consult publish subcommand documentation

but the command doesn't actually return a failing exit code, and CI seems to have succeeded.

To Reproduce

Re-running a similar job to https://github.com/polyvariant/smithy-test-tui/actions/runs/17387234481/job/49355628497 should do the trick.

Expected behaviour
A non-zero exit code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingexperimentalTickets tied to experimental features.publish command

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions