Skip to content

Commit e10ff52

Browse files
committed
fixing go releaser
1 parent a200b3a commit e10ff52

File tree

1 file changed

+7
-26
lines changed

1 file changed

+7
-26
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2-
version: 2
31
project_name: elysd
42
env:
53
- CGO_ENABLED=1
@@ -67,20 +65,13 @@ builds:
6765
binary: elysd
6866
hooks:
6967
pre:
70-
- wget -O /lib/libwasmvm_muslc.x86_64.a https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a
71-
- echo "a4a3d09b36fabb65b119d5ba23442c23694401fcbee4451fe6b7e22e325a4bac /lib/libwasmvm_muslc.x86_64.a" | sha256sum -c
72-
- curl -LO https://musl.cc/x86_64-linux-musl-cross.tgz
73-
- tar xf x86_64-linux-musl-cross.tgz
74-
- mv x86_64-linux-musl-cross /opt/musl-cross
68+
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/x86_64-linux-gnu/libwasmvm_muslc.a
7569
goos:
7670
- linux
7771
goarch:
7872
- amd64
7973
env:
80-
- CGO_ENABLED=1
81-
- CC=/opt/musl-cross/bin/x86_64-linux-musl-gcc
82-
- LD=/opt/musl-cross/bin/x86_64-linux-musl-ld
83-
- CGO_LDFLAGS=-L/lib -L/usr/local/lib
74+
- CC=x86_64-linux-gnu-gcc
8475
flags:
8576
- -mod=readonly
8677
- -trimpath
@@ -104,20 +95,13 @@ builds:
10495
binary: elysd
10596
hooks:
10697
pre:
107-
- wget -O /lib/libwasmvm_muslc.aarch64.a https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.aarch64.a
108-
- echo "a4a3d09b36fabb65b119d5ba23442c23694401fcbee4451fe6b7e22e325a4bac /lib/libwasmvm_muslc.aarch64.a" | sha256sum -c
109-
- curl -LO https://musl.cc/aarch64-linux-musl-cross.tgz
110-
- tar xf aarch64-linux-musl-cross.tgz
111-
- mv aarch64-linux-musl-cross /opt/musl-cross
98+
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.aarch64.a -O /usr/lib/aarch64-linux-gnu/libwasmvm_muslc.a
11299
goos:
113100
- linux
114101
goarch:
115102
- arm64
116103
env:
117-
- CGO_ENABLED=1
118-
- CC=/opt/musl-cross/bin/aarch64-linux-musl-gcc
119-
- LD=/opt/musl-cross/bin/aarch64-linux-musl-ld
120-
- CGO_LDFLAGS=-L/lib -L/usr/local/lib
104+
- CC=aarch64-linux-gnu-gcc
121105
flags:
122106
- -mod=readonly
123107
- -trimpath
@@ -165,21 +149,18 @@ archives:
165149
format: binary
166150
files:
167151
- none*
168-
169152
checksum:
170-
name_template: SHA256SUMS-v{{.Version}}.txt
153+
name_template: "sha256sum.txt"
171154
algorithm: sha256
172-
173155
# Docs: https://goreleaser.com/customization/changelog/
174156
changelog:
175-
disable: false
176-
157+
skip: true
177158
# Docs: https://goreleaser.com/customization/release/
178159
release:
179160
github:
180161
owner: elys-network
181162
name: elys
182-
replace_existing_draft: false
163+
replace_existing_draft: true
183164
header: |
184165
## Description
185166

0 commit comments

Comments
 (0)