diff --git a/nupkg/pack.sh b/nupkg/pack.sh index 769fa49ac8..62dff60c49 100755 --- a/nupkg/pack.sh +++ b/nupkg/pack.sh @@ -1,5 +1,6 @@ #!/bin/bash . ./common.sh +set -eE # Rebuild all solutions for solution in "${solutions[@]}" @@ -18,12 +19,6 @@ do cd "$projectFolder" rm -rf "$projectFolder/bin/Release" \ & dotnet pack --no-restore -c Release -p:SourceLinkCreate=true -o "$packFolder" - - if [ $? -ne 0 ] - then - echo "Packaging failed for the project: $projectFolder" - exit 1 - fi done # Go back to the pack folder