Skip to content

Commit

Permalink
Precise the arm version like it is done for oras, and ignore arm for …
Browse files Browse the repository at this point in the history
…darwin

Signed-off-by: lmussier <ludovic.mussier@gmail.com>
  • Loading branch information
lmussier committed Jun 4, 2024
1 parent 6c1d196 commit a794f74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dev.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ builds:
- amd64
- arm64
- arm
goarm:
- '7'
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
ldflags:
- -s -w -X {{.ModulePath}}/internal/version.Version={{.Version}} -X {{.ModulePath}}/internal/version.GitCommit={{.FullCommit}} -X {{.ModulePath}}/internal/version.BuildMetadata=
archives:
Expand Down
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ builds:
goarch:
- amd64
- arm64
- arm
goarm:
- '7'
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
ldflags:
- -s -w -X {{.ModulePath}}/internal/version.Version={{.Version}} -X {{.ModulePath}}/internal/version.GitCommit={{.FullCommit}} -X {{.ModulePath}}/internal/version.BuildMetadata=
archives:
Expand Down

0 comments on commit a794f74

Please sign in to comment.