Skip to content

Commit dfdeeb1

Browse files
author
bchamagne
committed
goreleaser version 2
1 parent 585963e commit dfdeeb1

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

.goreleaser.yml

+37-36
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
1+
version: 2
12
builds:
2-
- binary: archethic
3-
main: ./
4-
goos:
5-
- darwin
6-
- linux
7-
goarch:
8-
- 386
9-
- amd64
10-
- arm64
11-
ignore:
12-
- goos: darwin
13-
goarch: 386
3+
- binary: archethic
4+
main: ./
5+
goos:
6+
- darwin
7+
- linux
8+
goarch:
9+
- "386"
10+
- amd64
11+
- arm64
12+
ignore:
13+
- goos: darwin
14+
goarch: "386"
1415

1516
release:
1617
prerelease: auto
1718

1819
universal_binaries:
19-
- replace: true
20+
- replace: true
2021

2122
archives:
22-
- name_template: >-
23-
{{- .ProjectName }}_ {{- .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end -}}
24-
format_overrides:
25-
- goos: windows
26-
format: zip
27-
builds_info:
28-
group: root
29-
owner: root
30-
files:
31-
- README.md
32-
- LICENSE
23+
- name_template: >-
24+
{{- .ProjectName }}_ {{- .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end -}}
25+
format_overrides:
26+
- goos: windows
27+
format: zip
28+
builds_info:
29+
group: root
30+
owner: root
31+
files:
32+
- README.md
33+
- LICENSE
3334
3435
brews:
35-
- name: archethic
36-
homepage: "https://github.com/archethic-foundation/archethic-cli"
37-
repository:
38-
owner: archethic-foundation
39-
name: homebrew-tap
40-
folder: Formula
41-
dependencies:
42-
- name: git
43-
commit_author:
44-
name: Archethic Foundation
45-
36+
- name: archethic
37+
homepage: "https://github.com/archethic-foundation/archethic-cli"
38+
repository:
39+
owner: archethic-foundation
40+
name: homebrew-tap
41+
directory: Formula
42+
dependencies:
43+
- name: git
44+
commit_author:
45+
name: Archethic Foundation
46+
4647

4748
checksum:
48-
name_template: 'checksums.txt'
49+
name_template: "checksums.txt"

0 commit comments

Comments
 (0)