Skip to content

Commit e050549

Browse files
committed
Add brew tap to goreleaser
1 parent 9482aa8 commit e050549

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
oauth2c
2+
13
# Binaries for programs and plugins
24
*.exe
35
*.exe~

.goreleaser.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,31 @@ changelog:
3030
exclude:
3131
- '^docs:'
3232
- '^test:'
33+
brews:
34+
- tap:
35+
owner: "cloudentity"
36+
name: "homebrew-tap"
37+
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/"
46+
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"
3358
3459
# modelines, feel free to remove those if you don't want/use them:
3560
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

0 commit comments

Comments
 (0)