From 5362ba36de8834f09db7552049f6cd4658a79cd6 Mon Sep 17 00:00:00 2001 From: Lazar Date: Fri, 11 Oct 2024 14:25:05 +0200 Subject: [PATCH] wip:amd64 --- .goreleaser.yml | 29 +++++++++++++++++++++++++++++ Makefile | 1 + 2 files changed, 30 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8ae6cd8..268dcaf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: vigilante builds: @@ -20,6 +22,33 @@ builds: - netgo - osusergo + - id: vigilante-darwin-arm64 + main: ./cmd/vigilante/main.go + binary: vigilante + hooks: + pre: + - wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvmstatic_darwin.a -O /lib/libwasmvmstatic_darwin.a + goos: + - darwin + goarch: + - arm64 + env: + - GO111MODULE=on + - CGO_ENABLED=1 + - CC=oa64-clang + - CGO_LDFLAGS=-L/lib + ldflags: + - -w -s + - -linkmode=external + flags: + - -mod=readonly + - -trimpath + tags: + - netgo + - ledger + - muslc + - osusergo + archives: - id: zipped builds: diff --git a/Makefile b/Makefile index 9d3c010..b8eb299 100644 --- a/Makefile +++ b/Makefile @@ -115,6 +115,7 @@ release-snapshot: --clean \ --snapshot \ --skip=publish,validate \ + --verbose # NOTE: By default, the CI will handle the release process. # this is for manually releasing.