1
0

Compress binaries after building them (#81)

This commit is contained in:
konrad
2019-06-22 22:07:58 +00:00
committed by Gitea
parent 16825ba7c6
commit 9930f98f8e
3 changed files with 41 additions and 6 deletions

View File

@ -186,13 +186,21 @@ steps:
- make release-darwin
depends_on: [ before-static-build ]
- name: after-build-static
image: techknowlogick/xgo:latest
- name: after-build-compress
image: kolaente/upx
pull: true
depends_on:
- static-build-windows
- static-build-linux
- static-build-darwin
commands:
- make release-compress
- name: after-build-static
image: techknowlogick/xgo:latest
pull: true
depends_on:
- after-build-compress
commands:
- make release-copy
- make release-check
@ -383,13 +391,21 @@ steps:
- make release-darwin
depends_on: [ before-static-build ]
- name: after-build-static
image: techknowlogick/xgo:latest
- name: after-build-compress
image: kolaente/upx
pull: true
depends_on:
- static-build-windows
- static-build-linux
- static-build-darwin
commands:
- make release-compress
- name: after-build-static
image: techknowlogick/xgo:latest
pull: true
depends_on:
- after-build-compress
commands:
- make release-copy
- make release-check