Skip to content

Commit f411725

Browse files
committed
ci: fix creation of tarball
Signed-off-by: Anas Nashif <[email protected]>
1 parent bc84e54 commit f411725

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.shippable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ build:
5454
aws s3 cp zephyr-sdk-x86_64-hosttools-standalone-0.9.sh ${S3_PATH}/;
5555
else
5656
echo "uploading ${TARGET}.tar.bz2 to ${S3_PATH}/";
57-
tar --exclude='build.log.bz2' -C build/output/ -jcvf ${TARGET}.tar.bz2 *-zephyr-*
57+
pushd build/output
58+
tar --exclude='build.log.bz2' -jcvf ../../${TARGET}.tar.bz2 *-zephyr-*
59+
popd
5860
aws s3 cp ${TARGET}.tar.bz2 ${S3_PATH}/;
5961
fi
6062
fi

0 commit comments

Comments
 (0)