Skip to content

Commit c6ec256

Browse files
authored
Update PlatformIO archive format to xz
Change the compression format of the PlatformIO archive from zip to xz.
1 parent aefdaee commit c6ec256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/archive-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
44

55
archive_path="dist/arduino-esp32-libs-$TARGET-$idf_version_string.tar.gz"
66
build_archive_path="dist/arduino-esp32-build-$TARGET-$idf_version_string.tar.gz"
7-
pio_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.tar.gz"
7+
pio_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.tar.xz"
88
pio_zip_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.zip"
99

1010
mkdir -p dist && rm -rf "$archive_path" "$build_archive_path"
@@ -67,5 +67,5 @@ cd ../../../
6767

6868
if [[ -z "$GITHUB_ACTIONS" ]]; then
6969
echo "Creating PlatformIO Tasmota framework-arduinoespressif32"
70-
7z a -mx=9 -tzip -xr'!.*' ../$pio_zip_archive_path framework-arduinoespressif32/
70+
tar --exclude=.* -Jcf ../$pio_archive_path framework-arduinoespressif32/
7171
fi

0 commit comments

Comments
 (0)