Skip to content

Commit 0553883

Browse files
committed
Fix build.sh to propagate exit code on failure
1 parent 534adc0 commit 0553883

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
# Wrapper script to call Build.ps1 with PowerShell
77
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88
pwsh -File "$SCRIPT_DIR/Build.ps1" "$@"
9+
exit $?

src/PostSharp.Engineering.BuildTools/Resources/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
# Wrapper script to call Build.ps1 with PowerShell
77
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88
pwsh -File "$SCRIPT_DIR/Build.ps1" "$@"
9+
exit $?

0 commit comments

Comments
 (0)