Our automated deploy pipeline checks the exit code of our bazel run deploy commands to confirm if the deploy succeeded. When upgrading from 0.4 to 0.6 we noticed our deploy stage failing. We tested versions 0.4, 0.5 and 0.6. This is a regression in versions 0.5 and 0.6. They return exit code 1 when the command appears to succeed.
Here's an example BUILD file followed by the commands I used to test:
Our automated deploy pipeline checks the exit code of our
bazel run
deploy commands to confirm if the deploy succeeded. When upgrading from 0.4 to 0.6 we noticed our deploy stage failing. We tested versions 0.4, 0.5 and 0.6. This is a regression in versions 0.5 and 0.6. They return exit code 1 when the command appears to succeed.Here's an example BUILD file followed by the commands I used to test:
BUILD file
With version 0.4 of the rules:
With version 0.5 and 0.6 of the rules: