forked from akash-network/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
97 lines (91 loc) · 2.3 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# See documentation at http://goreleaser.com
builds:
- id: akash
binary: akash
main: ./cmd/akash
goarch: [amd64, arm64]
goos: [linux, darwin]
ignore:
- goos: darwin
goarch: 386
ldflags: >
-s -w
-X github.com/cosmos/cosmos-sdk/version.Name=akash
-X github.com/cosmos/cosmos-sdk/version.ServerName=akashd
-X github.com/cosmos/cosmos-sdk/version.ClientName=akash
-X github.com/cosmos/cosmos-sdk/version.Version={{.Version}}
-X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: akashd
binary: akashd
main: ./cmd/akashd
goarch: [amd64, arm64]
goos: [linux,darwin]
ignore:
- goos: darwin
goarch: 386
- goos: windows
goarch: arm
ldflags: >
-s -w
-X github.com/cosmos/cosmos-sdk/version.Name=akash
-X github.com/cosmos/cosmos-sdk/version.ServerName=akashd
-X github.com/cosmos/cosmos-sdk/version.ClientName=akash
-X github.com/cosmos/cosmos-sdk/version.Version={{.Version}}
-X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
archives:
- id: akash
builds:
- akash
- akashd
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: zip
files:
- none*
dockers:
- binaries:
- akash
dockerfile: _build/Dockerfile.akash
goos: linux
goarch: amd64
image_templates:
- "ovrclk/akash:latest"
- "ovrclk/akash:{{ .ShortCommit }}"
- "ovrclk/akash:{{ .Version }}"
- binaries:
- akashd
dockerfile: _build/Dockerfile.akashd
goos: linux
goarch: amd64
image_templates:
- "ovrclk/akashd:latest"
- "ovrclk/akashd:{{ .ShortCommit }}"
- "ovrclk/akashd:{{ .Version }}"
brews:
- name: akash
ids:
- akash
- akashd
github:
owner: ovrclk
name: homebrew-tap
homepage: "https://akash.network"
description: "Blockchain-powered decentralized compute platform"
install: |
bin.install "akash"
bin.install "akashd"
nfpms:
-
vendor: Overclock Labs Inc.
homepage: http://ovrclk.com
maintainer: Greg Osuri <[email protected]>
formats:
- deb
- rpm
license: Apache 2.0
release:
github:
owner: ovrclk
name: akash
prerelease: auto
draft: false