mirror of https://github.com/docker/docs.git
Fix deploy script exit code check
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
1ac22866fc
commit
00938bd954
|
@ -8,7 +8,7 @@ for i in $(seq 0 4); do
|
||||||
echo "Trying build $i..."
|
echo "Trying build $i..."
|
||||||
make clean
|
make clean
|
||||||
BUILD_EXIT_CODE=$(make)
|
BUILD_EXIT_CODE=$(make)
|
||||||
if [[ "$BUILD_EXIT_CODE" -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
cp dist/* $CIRCLE_ARTIFACTS
|
cp dist/* $CIRCLE_ARTIFACTS
|
||||||
|
|
||||||
if [ ! -z "$CIRCLE_TAG" ]; then
|
if [ ! -z "$CIRCLE_TAG" ]; then
|
||||||
|
|
Loading…
Reference in New Issue