compile, finalize the tar files.
This commit is contained in:
1 parent
2770c13a94
commit
c8f314dcc7
1 file changed
+13
-10
+13
-10
@@ -60,23 +60,26 @@ set -x
|
|||||||
flutter build linux ${BUILD_OPTIONS[@]}
|
flutter build linux ${BUILD_OPTIONS[@]}
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
log "Saving Linux Bundle..."
|
|
||||||
|
|
||||||
log "- zip"
|
log "- zip"
|
||||||
filename=$RELEASE.linux-bundle.zip
|
filename=$RELEASE.linux-bundle.zip
|
||||||
|
contents="build/linux/x64/release/bundle/"
|
||||||
if [[ -e $filename ]]; then
|
if [[ -e $filename ]]; then
|
||||||
rm -v $filename
|
rm -v $filename
|
||||||
fi
|
fi
|
||||||
zip -r $filename build/linux/x64/release/bundle/*
|
zip -qr "$filename" "$contents"/*
|
||||||
ls -sh $filename
|
ls -sh $filename
|
||||||
|
|
||||||
#log "- tar"
|
log "- tar"
|
||||||
#filename=$RELEASE.linux-bundle.tar
|
filename=$RELEASE.tar
|
||||||
#if [[ -e "$filename"* ]]; then
|
if [[ -e "$filename"* ]]; then
|
||||||
# rm -v $filename*
|
rm -v "$filename"*
|
||||||
#fi
|
fi
|
||||||
#zip -r $filename build/linux/x64/release/bundle/*
|
set -x
|
||||||
#ls -sh $filename
|
tar -c --zstd -f "${filename}.zst" -C "$contents" .
|
||||||
|
tar -cz -f "${filename}.gz" -C "$contents" .
|
||||||
|
tar -cJ -f "${filename}.xz" -C "$contents" .
|
||||||
|
set +x
|
||||||
|
ls -sh "$filename"* | sort -h
|
||||||
|
|
||||||
# Android
|
# Android
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user