Skip to content

Commit

Permalink
chore: gorelease fix (#113)
Browse files Browse the repository at this point in the history
In our GitHub actions we are not aware of wasm version, set it
statically
  • Loading branch information
Lazar955 committed Nov 22, 2024
1 parent 3298d7d commit 07552c2
Show file tree
Hide file tree
Showing 2 changed files with 20 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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

* [#113](https://github.com/babylonlabs-io/vigilante/pull/113) goreleaser wasm version


## v0.17.0

### Improvements
Expand Down

0 comments on commit 07552c2

Please sign in to comment.