Skip to content

publish-tfgen-package script does not fail if nuget publish fail #137

Open

Description

What happened?

A nuget package failed to publish for the Pulumi.Command package: pulumi/pulumi-command#205

Expected Behavior

The job should have failed, rather than be considered succeeded.

Steps to reproduce

Run the publish-tfgen-package script with an invalid .nupkg file

Output of pulumi about

.

Additional context

The publish is part of a find command, and apparently the find command exits with code "0", even if the -exec part fails with a non-zero code. Apparently this is a known limitation with the find command: https://apple.stackexchange.com/a/49156

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    kind/bugSome behavior is incorrect or out of specneeds-triageNeeds attention from the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions