crew remove upx backup files not deleted (#5950)

This commit is contained in:
satmandu
2021-07-10 16:55:25 -04:00
committed by GitHub
parent e5ae7b82c8
commit 26f02465af
2 changed files with 2 additions and 1 deletions

View File

@@ -997,6 +997,7 @@ def shrink_dir(dir)
system "upx --best -k --overlay=skip #{execfile} && \
\( upx -t #{execfile} && rm #{execfile}.~ || mv #{execfile}.~ #{execfile}\)"
end
system 'find . -executable -type f -name "*.~" -delete'
end
end
end

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.11.8'
CREW_VERSION = '1.11.9'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines