Skip to content

Commit

Permalink
Update goreleaser to see if that fixes the upx weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Wong committed Jun 11, 2020
1 parent 0f45afe commit 0fb1fe8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
uses: actions/setup-go@v1
with:
go-version: '1.13'
-
name: Install upx
run: sudo apt install upx -y
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
env:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ builds:
- arm64
goarm:
- 7
hooks:
post: .github/workflows/upx.sh
archives:
- name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
replacements:
Expand Down

0 comments on commit 0fb1fe8

Please sign in to comment.