mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Add once again the use of UPX for the linux releases
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
This commit is contained in:
parent
89b38ff3dc
commit
8c60bc2668
1 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue