use upx to compress binaries

This commit is contained in:
Robert Kaussow 2020-02-03 01:33:15 +01:00
parent 61e2308e6f
commit 931dc63d59
2 changed files with 17 additions and 1 deletions

View File

@ -74,6 +74,15 @@ def binaries(arch):
'$(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help',
]
},
{
'name': 'compress',
'image': 'alpine',
'commands': [
'apk add upx',
'find release/ -maxdepth 1 -executable -type f -exec upx {} \;',
'ls -lh release/',
]
},
{
'name': 'checksum',
'image': 'alpine',

View File

@ -47,6 +47,13 @@ steps:
commands:
- $(find release/ -executable -type f | grep url-parser-.*-linux-amd64) --help
- name: compress
image: alpine
commands:
- apk add upx
- find release/ -maxdepth 1 -executable -type f -exec upx {} \;
- ls -lh release/
- name: checksum
image: alpine
commands:
@ -111,6 +118,6 @@ depends_on:
---
kind: signature
hmac: 4fe412d8dad69f05a8b864120dd812fb19e9c4652016ed9ff704f4de8fee6d8a
hmac: 84fb5966acf998f5efffbec5d0a279838b7912b578970668eb8fccd66c5ddc4e
...