fix(ci): Add set -e to link-packages for proper error propagation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Without set -e, if an individual link_package call fails, the script continues silently. Only the last call's exit code determined the step result — masking earlier failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -280,6 +280,7 @@ steps:
|
|||||||
- echo "Waiting 10 seconds for packages to be indexed in registry..."
|
- echo "Waiting 10 seconds for packages to be indexed in registry..."
|
||||||
- sleep 10
|
- sleep 10
|
||||||
- |
|
- |
|
||||||
|
set -e
|
||||||
link_package() {
|
link_package() {
|
||||||
PKG="$$1"
|
PKG="$$1"
|
||||||
echo "Linking $$PKG..."
|
echo "Linking $$PKG..."
|
||||||
|
|||||||
Reference in New Issue
Block a user