Skip to content

Commit 98d8da8

Browse files
committed
gorelease: fix conficts
Signed-off-by: Greg Osuri <me@gregosuri.com>
1 parent bbab531 commit 98d8da8

File tree

1 file changed

+37
-30
lines changed

1 file changed

+37
-30
lines changed

.goreleaser.yml

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
11
# See documentation at http://goreleaser.com
22
builds:
3-
- binary: akash
3+
- id: akash
4+
binary: akash
45
main: ./cmd/akash
5-
goarch: [amd64]
6+
goarch: [amd64, arm64]
67
goos: [linux,darwin,windows]
78
ldflags: -s -w -X github.com/ovrclk/akash/version.version={{.Version}} -X github.com/ovrclk/akash/version.commit={{.Commit}} -X github.com/ovrclk/akash/version.date={{.Date}}
89

9-
- binary: akashd
10+
- id: akashd
11+
binary: akashd
1012
main: ./cmd/akashd
11-
goarch: [amd64]
13+
goarch: [amd64, arm64]
1214
goos: [linux,darwin]
1315
ldflags: -s -w -X github.com/ovrclk/akash/version.version={{.Version}} -X github.com/ovrclk/akash/version.commit={{.Commit}} -X github.com/ovrclk/akash/version.date={{.Date}}
1416

15-
archive:
16-
files:
17-
- none*
17+
archives:
18+
- id: akash
19+
builds:
20+
- akash
21+
- akashd
22+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
23+
replacements:
24+
amd64: 64-bit
25+
386: 32-bit
26+
darwin: macOS
27+
linux: Tux
28+
wrap_in_directory: true
29+
format: zip
1830

1931
checksum:
20-
# You can change the name of the checksums file.
21-
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
22-
name_template: "{{ .ProjectName }}_checksums.txt"
23-
24-
# Algorithm to be used.
25-
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
26-
# Default is sha256.
32+
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
2733
algorithm: sha256
2834

2935
dockers:
@@ -34,7 +40,8 @@ dockers:
3440
goarch: amd64
3541
image_templates:
3642
- "ovrclk/akash:latest"
37-
- "ovrclk/akash:{{ .Tag }}"
43+
- "ovrclk/akash:{{ .ShortCommit }}"
44+
- "ovrclk/akash:{{ .Version }}"
3845
- "ovrclk/akash:v{{ .Major }}"
3946
- "ovrclk/akash:v{{ .Major }}{{ .Minor }}"
4047

@@ -45,24 +52,24 @@ dockers:
4552
goarch: amd64
4653
image_templates:
4754
- "ovrclk/akashd:latest"
48-
- "ovrclk/akashd:{{ .Tag }}"
49-
- "ovrclk/akashd:{{ .Tag }}"
55+
- "ovrclk/akashd:{{ .ShortCommit }}"
56+
- "ovrclk/akashd:{{ .Version }}"
5057
- "ovrclk/akashd:v{{ .Major }}"
5158
- "ovrclk/akashd:v{{ .Major }}{{ .Minor }}"
5259

53-
brew:
54-
name: akash
55-
56-
github:
57-
owner: ovrclk
58-
name: homebrew-tap
59-
60-
homepage: "https://akash.network"
61-
description: "Blockchain-powered decentralized compute platform"
62-
63-
install: |
64-
bin.install "akash"
65-
bin.install "akashd"
60+
brews:
61+
- name: akash
62+
ids:
63+
- akash
64+
- akashd
65+
github:
66+
owner: ovrclk
67+
name: homebrew-tap
68+
homepage: "https://akash.network"
69+
description: "Blockchain-powered decentralized compute platform"
70+
install: |
71+
bin.install "akash"
72+
bin.install "akashd"
6673
6774
release:
6875
github:

0 commit comments

Comments
 (0)