forked from regen-network/regen-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
79 lines (75 loc) · 2.27 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
project_name: regen-ledger
env:
- GO111MODULE=on
- CGO_ENABLED=1
- LD_LIBRARY_PATH=/home/runner/work/osxcross/target/binaries/lib
builds:
- id: regen-darwin-amd64
binary: regen
main: ./app/regen
goarch:
- amd64
goos:
- darwin
env:
- CC=/home/runner/work/osxcross/target/target/bin/o64-clang
- CXX=/home/runner/work/osxcross/target/target/bin/o64-clang++
flags:
- -tags="netgo ledger"
- -trimpath
- -mod=readonly
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=regen -X github.com/cosmos/cosmos-sdk/version.AppName=regen -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}} -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"
- id: regen-linux-amd64
binary: regen
main: ./app/regen
goarch:
- amd64
goos:
- linux
flags:
- -tags="netgo ledger"
- -trimpath
- -mod=readonly
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=regen -X github.com/cosmos/cosmos-sdk/version.AppName=regen -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}} -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"
archives:
- id: regen
builds:
- regen-darwin-amd64
- regen-linux-amd64
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: zip
files:
- none*
brews:
- name: regen-ledger
ids:
- regen
tap:
owner: likhita-809
name: regen-ledger
homepage: "https://www.regen.network/"
description: "Blockchain-powered marketplace for climate solutions and planetary regenerations"
custom_block: |
head "https://github.com/likhita-809/regen-ledger.git"
test: |
system "#{bin}/regen --version"
install: |
bin.install "regen"
nfpms:
- maintainer: regen-network
description: "Blockchain-powered marketplace for climate solutions and planetary regenerations"
homepage: https://github.com/likhita-809/regen-ledger
license: MIT
formats:
- deb
- rpm
- apk
release:
github:
owner: likhita-809
name: regen-ledger
prerelease: auto
draft: false