Skip to content

Commit

Permalink
xz only push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwckf committed May 23, 2019
1 parent b53bebf commit 5c94413
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build-armbian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func_release() {
echo "new image file: $imgname_new"

mv $imgfile ${output}/${imgname_new}
xz -f -T0 -v ${output}/${imgname_new}
if [ -n "$TRAVIS_TAG" ]; then
xz -f -T0 -v ${output}/${imgname_new}
fi
rm -rf ${tmpdir}
}

Expand Down
4 changes: 3 additions & 1 deletion build-libreelec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ func_release() {
IMG_NEW=$(basename $IMG |sed "s/${origin}/${target}/")
echo "IMG_NEW: $IMG_NEW"
mv $IMG $output/$IMG_NEW
xz -f -T0 -v $output/$IMG_NEW
if [ -n "$TRAVIS_TAG" ]; then
xz -f -T0 -v $output/$IMG_NEW
fi
}

case "$1" in
Expand Down

0 comments on commit 5c94413

Please sign in to comment.