Skip to content

Commit

Permalink
update goreleaser cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Apr 16, 2020
1 parent cd34082 commit 10e9809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Inject static assets
run: |
go get -u github.com/gobuffalo/packr/v2/packr2
$GOPATH/bin/packr2
$HOME/go/bin/packr2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: phoneinfoga
goos:
- linux
- darwin
Expand All @@ -12,8 +13,6 @@ builds:
- amd64
- arm
- arm64
hooks:
pre: sh ./scripts/prebuild.sh
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
Expand Down

0 comments on commit 10e9809

Please sign in to comment.