mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
scripts/image_release: change $RELEASE_DIR location, remove $RELEASE_DIR if ready
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b7bc7105fe
commit
072a9b8f48
@ -6,7 +6,7 @@ $SCRIPTS/image_squashfs
|
|||||||
|
|
||||||
get_version
|
get_version
|
||||||
|
|
||||||
RELEASE_DIR="$BUILD/target/OpenELEC-$TARGET_VERSION"
|
RELEASE_DIR="target/OpenELEC-$TARGET_VERSION"
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
rm -rf $RELEASE_DIR
|
rm -rf $RELEASE_DIR
|
||||||
@ -32,4 +32,7 @@ RELEASE_DIR="$BUILD/target/OpenELEC-$TARGET_VERSION"
|
|||||||
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION.tar.bz2
|
rm -rf $TARGET_IMG/OpenELEC-$TARGET_VERSION.tar.bz2
|
||||||
|
|
||||||
# create release tarball
|
# create release tarball
|
||||||
tar cjf $TARGET_IMG/OpenELEC-$TARGET_VERSION.tar.bz2 -C $BUILD/target OpenELEC-$TARGET_VERSION
|
tar cjf $TARGET_IMG/OpenELEC-$TARGET_VERSION.tar.bz2 -C target OpenELEC-$TARGET_VERSION
|
||||||
|
|
||||||
|
# cleanup release dir
|
||||||
|
rm -rf $RELEASE_DIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user