Skip to content

Commit

Permalink
Pass exit code from the cargo build to the shell in docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreuden committed Feb 22, 2024
1 parent 57b9770 commit 48d94f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ mkdir -p out

echo "--- Building plugin backend ---"
cargo build --profile docker
BUILD_EXIT=$?
mkdir -p out

mv target/docker/backend out/backend
Expand All @@ -18,3 +19,4 @@ echo " --- Cleaning up ---"
cargo clean
# remove newly-cloned git repo and artifacts
rm -rf ./ryzenadj
exit $BUILD_EXIT

0 comments on commit 48d94f2

Please sign in to comment.