Skip to content

Commit

Permalink
fix(build): Correct buildspec so it does not fail (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller authored Jun 4, 2019
1 parent 078e34a commit e362ac8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ phases:
- /bin/bash ./build.sh
post_build:
commands:
- "[ -f .BUILD_COMPLETED ] && [ -z \"${SKIP_PACK:-}\" ] && /bin/bash ./pack.sh"
- |
if [ -f .BUILD_COMPLETED ]; then
if [ -z \"${SKIP_PACK:-}\" ]; then
/bin/bash ./pack.sh
fi
fi
artifacts:
files:
- "**/*"
Expand Down

0 comments on commit e362ac8

Please sign in to comment.