Skip to content

Commit f6a0679

Browse files
authored
Merge pull request #4 from major-technology/j/3
More fixes
2 parents d8674cb + dc049de commit f6a0679

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ version: 2
33
project_name: major
44

55
before:
6-
hooks:
7-
- go mod tidy
6+
hooks: [go mod tidy]
87

98
builds:
109
- id: major
@@ -15,28 +14,27 @@ builds:
1514
ldflags:
1615
- -s -w
1716
- -X github.com/major-technology/cli/cmd.version={{.Version}}
18-
# If you want prod builds to default to prod config:
1917
- -X github.com/major-technology/cli/cmd.defaultConfig=configs/prod.json
2018
goos: [darwin, linux]
2119
goarch: [amd64, arm64]
2220

2321
archives:
24-
- format: tar.gz
22+
- formats: [tar.gz] # <- v2 syntax
2523
files:
2624
- LICENSE
2725
- README.md
2826

29-
brews:
27+
brews: # <- still deprecated but works
3028
- name: major
31-
tap:
29+
description: "Major CLI"
30+
homepage: "https://github.com/major-technology/major"
31+
license: "MIT"
32+
repository:
3233
owner: major-technology
3334
name: homebrew-tap
3435
commit_author:
3536
name: goreleaser
3637
email: goreleaser@users.noreply.github.com
37-
description: "Major CLI"
38-
homepage: "https://github.com/major-technology/cli"
39-
license: "MIT"
4038
test: |
4139
system "#{bin}/major", "--version"
4240
install: |
@@ -46,8 +44,3 @@ release:
4644
github:
4745
owner: major-technology
4846
name: major
49-
draft: false
50-
prerelease: false
51-
52-
changelog:
53-
sort: asc

0 commit comments

Comments
 (0)