From 8c60bc2668fc1ffe60a3c40c13a5f3c2ffe4481d Mon Sep 17 00:00:00 2001 From: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com> Date: Wed, 9 Apr 2025 19:51:53 +0200 Subject: [PATCH] Add once again the use of UPX for the linux releases Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com> --- scripts/release | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/release b/scripts/release index eb2ca8f..42edd30 100755 --- a/scripts/release +++ b/scripts/release @@ -102,6 +102,14 @@ release() { ### We export a CI/CD variable to be used later in the pipeline echo "EXTENSION=zip" >> $GITHUB_OUTPUT else + + if upx --best --lzma "$bin_path"; then + log::info "upx succeeded" + else + log::info "upx failed" + fi + + ### For all other targets, they have tar as the norm ### or have it installed by default. tar -czf "navi.tar.gz" "navi"