Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
Fix goreleaser post hook
Browse files Browse the repository at this point in the history
  • Loading branch information
errm committed Sep 18, 2018
1 parent e695b61 commit 3752059
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ builds:
goarch:
- amd64
hooks:
post: strip -x ./dist/linux_amd64/ekstrap && upx -9 ./dist/linux_amd64/ekstrap
post: .travis/squash.sh
archive:
replacements:
amd64: x86_64
Expand Down
6 changes: 6 additions & 0 deletions .travis/squash.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

set -euo pipefail

strip -x ./dist/linux_amd64/ekstrap
upx -9 ./dist/linux_amd64/ekstrap

0 comments on commit 3752059

Please sign in to comment.