github honeycombio/buildevents v0.4.1
Fix regression - missing exit status

latest releases: v0.16.0, v0.15.0, v0.14.0...
4 years ago

Previous to the Cobra refactor, when buildevents cmd would execute a command it would pass along the exit status from that command. In other words, if the command buildevents is running fails, the buildevents command itself will fail with the same exit code. That feature was lost when we switched to the Cobra framework because the standard Run command has no error return value. Instead Cobra has the RunE function.

This release fixes the lost feature that when the command being run fails, buildevents will also fail.

Don't miss a new buildevents release

NewReleases is sending notifications on new releases.