forked from LBRYCommunity/lbry-sdk
print package size in travis
This commit is contained in:
parent
12c9e16f37
commit
b57212d5f7
1 changed files with 6 additions and 2 deletions
|
@ -165,6 +165,10 @@ ar r "$PACKAGE" debian-binary control.tar.gz data.tar.xz
|
||||||
|
|
||||||
# TODO: we can append to data.tar instead of extracting it all and recompressing
|
# TODO: we can append to data.tar instead of extracting it all and recompressing
|
||||||
|
|
||||||
if [[ -n "${TRAVIS_BUILD_DIR}" ]]; then
|
if [[ ! -z "${TRAVIS_BUILD_DIR+x}" ]]; then
|
||||||
|
# move it to a consistent place so that later it can be uploaded
|
||||||
|
# to the github releases page
|
||||||
mv "${PACKAGE}" "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
mv "${PACKAGE}" "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
||||||
|
# want to be able to check the size of the result in the log
|
||||||
|
ls -l "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue