Make sure built binary files are executable when compressing with upx
This commit is contained in:
parent
bb26c9d97c
commit
b64a80da0b
1 changed files with 1 additions and 0 deletions
|
@ -578,6 +578,7 @@ func (Release) Compress(ctx context.Context) error {
|
||||||
|
|
||||||
// Runs compressing in parallel since upx is single-threaded
|
// Runs compressing in parallel since upx is single-threaded
|
||||||
errs.Go(func() error {
|
errs.Go(func() error {
|
||||||
|
runAndStreamOutput("chmod", "+x", path) // Make sure all binaries are executable. Sometimes the CI does weired things and they're not.
|
||||||
runAndStreamOutput("upx", "-9", path)
|
runAndStreamOutput("upx", "-9", path)
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue