Skip to content

Commit

Permalink
gorelease fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Nov 21, 2024
1 parent ab266c6 commit acfaab5
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ builds:
- id: vigilante-linux-amd64
main: ./cmd/vigilante/main.go
binary: vigilante
hooks:
pre:
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/libwasmvm_muslc.x86_64.a
goos:
- linux
goarch:
Expand All @@ -18,6 +15,8 @@ builds:
flags:
- -mod=readonly
- -trimpath
ldflags:
- -w -s
tags:
- netgo
- osusergo
Expand All @@ -27,7 +26,7 @@ builds:
binary: vigilante
hooks:
pre:
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvmstatic_darwin.a -O /lib/libwasmvmstatic_darwin.a
- wget https://github.com/CosmWasm/wasmvm/releases/download/v2.1.3/libwasmvmstatic_darwin.a -O /lib/libwasmvmstatic_darwin.a
goos:
- darwin
goarch:
Expand Down Expand Up @@ -63,6 +62,20 @@ archives:
format: binary
files:
- none*
- id: zipped-arm64
builds:
- vigilante-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- none*
- id: binaries-arm64
builds:
- vigilante-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: binary
files:
- none*

checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
Expand Down

0 comments on commit acfaab5

Please sign in to comment.