Skip to content

Commit e362ac8

Browse files
authored
fix(build): Correct buildspec so it does not fail (#2737)
1 parent 078e34a commit e362ac8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

buildspec.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ phases:
1212
- /bin/bash ./build.sh
1313
post_build:
1414
commands:
15-
- "[ -f .BUILD_COMPLETED ] && [ -z \"${SKIP_PACK:-}\" ] && /bin/bash ./pack.sh"
15+
- |
16+
if [ -f .BUILD_COMPLETED ]; then
17+
if [ -z \"${SKIP_PACK:-}\" ]; then
18+
/bin/bash ./pack.sh
19+
fi
20+
fi
1621
artifacts:
1722
files:
1823
- "**/*"

0 commit comments

Comments
 (0)