mirror of
https://github.com/thegeeklab/url-parser.git
synced 2024-11-17 18:50:42 +00:00
use upx to compress binaries
This commit is contained in:
parent
61e2308e6f
commit
931dc63d59
@ -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',
|
||||
|
@ -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
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user