Skip to content

Commit de6bb2f

Browse files
committed
Fix brew
1 parent e050549 commit de6bb2f

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

.goreleaser.yaml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# Make sure to check the documentation at https://goreleaser.com
33
before:
44
hooks:
5-
# You may remove this if you don't use go modules.
65
- go mod tidy
7-
# you may remove this if you don't need go generate
86
- go generate ./...
97
builds:
108
- env:
@@ -13,6 +11,10 @@ builds:
1311
- linux
1412
- windows
1513
- darwin
14+
goarch:
15+
- amd64
16+
- arm
17+
- arm64
1618
archives:
1719
- replacements:
1820
darwin: Darwin
@@ -32,29 +34,12 @@ changelog:
3234
- '^test:'
3335
brews:
3436
- tap:
35-
owner: "cloudentity"
36-
name: "homebrew-tap"
37+
owner: cloudentity
38+
name: homebrew-tap
3739
token: "{{ .Env.GITHUB_TOKEN }}"
38-
ids: ["gnu", "other"]
39-
url_template: "https://github.com/cloudentity/oauth2c/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
40-
download_strategy: "CurlDownloadStrategy"
41-
commit_author:
42-
name: "cloudentity-ci"
43-
44-
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
45-
homepage: "https://cloudentity.com/"
40+
folder: Formula
41+
homepage: "https://github.com/cloudentity/oauth2c"
4642
description: "CLI for OAuth2"
47-
license: "Apache-2.0"
48-
folder: "Formula"
49-
custom_block: |
50-
head "https://github.com/cloudentity/oauth2c.git", :branch => "main"
51-
dependencies:
52-
- name: "go"
53-
type: "build"
54-
test: |
55-
system "#{bin}/oauth2c -h"
56-
install: |
57-
bin.install "oauth2c"
5843

5944
# modelines, feel free to remove those if you don't want/use them:
6045
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

0 commit comments

Comments
 (0)