Skip to content

Commit

Permalink
Add arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Apr 2, 2024
1 parent d731d47 commit 6fa3775
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sheer-heart-attack
sheer-heart-attack-logs
*.log
coverage.out
packrd
options/options-packr.go
11 changes: 4 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,28 @@ before:
hooks:
- go mod download
- go mod tidy
- packr2
builds:
-
id: killer-q-darwin
hooks:
pre: packr2
post: packr2 clean
env:
- CGO_ENABLED=1
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/k1LoW/sheer-heart-attack.version={{.Version}} -X github.com/k1LoW/sheer-heart-attack.commit={{.FullCommit}} -X github.com/k1LoW/sheer-heart-attack.date={{.Date}} -X github.com/k1LoW/sheer-heart-attack/version.Version={{.Version}}
-
id: killer-q-linux
hooks:
pre: packr2
post: packr2 clean
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/k1LoW/sheer-heart-attack.version={{.Version}} -X github.com/k1LoW/sheer-heart-attack.commit={{.FullCommit}} -X github.com/k1LoW/sheer-heart-attack.date={{.Date}} -X github.com/k1LoW/sheer-heart-attack/version.Version={{.Version}}
archives:
Expand Down

0 comments on commit 6fa3775

Please sign in to comment.