Skip to content

Commit

Permalink
Stripping and stronger compression
Browse files Browse the repository at this point in the history
  • Loading branch information
michacassola committed May 5, 2024
1 parent ba06d79 commit 8b0be90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unypkg-base-build-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1847,6 +1847,8 @@ EOF

set -vx

binary_stripping

mkdir -pv /var/uny/build
mv -v /uny/sources /var/uny/sources
rm -rf /uny/uny/include
Expand All @@ -1855,7 +1857,7 @@ cd $UNY || exit
XZ_OPT="--threads=0" tar -cJpf /var/unypkg-base-build-logs-"$uny_build_date_now".tar.xz uny/build/logs
mv -v /uny/uny/build/logs /var/uny/build/logs

XZ_OPT="--threads=0" tar --exclude='./tmp' -cJpf /var/unypkg-base-"$uny_build_date_now".tar.xz .
XZ_OPT="-9 --threads=0" tar --exclude='./tmp' -cJpf /var/unypkg-base-"$uny_build_date_now".tar.xz .

gh -R unypkg/base release create "$uny_build_date_now" --generate-notes \
/var/unypkg-base-build-logs-"$uny_build_date_now".tar.xz /var/unypkg-base-"$uny_build_date_now".tar.xz
Expand Down

0 comments on commit 8b0be90

Please sign in to comment.