Skip to content

Commit

Permalink
Fix mage and go buildkit script exit codes. (#3149)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse authored Jul 31, 2023
1 parent b2b67bc commit f2e4f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ mage() {
fi
pushd "$WORKSPACE"
command "mage" "$@"
ACTUAL_EXIT_CODE=$?
popd
return $ACTUAL_EXIT_CODE
}

# Wrapper function for executing go
Expand All @@ -78,7 +80,9 @@ go(){
fi
pushd "$WORKSPACE"
command go "$@"
ACTUAL_EXIT_CODE=$?
popd
return $ACTUAL_EXIT_CODE
}

google_cloud_auth() {
Expand Down

0 comments on commit f2e4f71

Please sign in to comment.