Skip to content

Commit c188a40

Browse files
authored
chore: nest key for brew tap push under git section (#540)
1 parent 1edb1de commit c188a40

File tree

1 file changed

+19
-34
lines changed

1 file changed

+19
-34
lines changed

.goreleaser.yml

Lines changed: 19 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ archives:
4242
-
4343
id: ld-find-code-refs
4444
builds:
45-
- ld-find-code-refs
45+
- ld-find-code-refs
4646

4747
nfpms:
4848
-
@@ -60,32 +60,26 @@ nfpms:
6060
vendor: LaunchDarkly
6161

6262
formats:
63-
- deb
64-
- rpm
63+
- deb
64+
- rpm
6565

6666
brews:
67-
-
68-
ids:
69-
- ld-find-code-refs
70-
67+
- ids:
68+
- ld-find-code-refs
7169
name: ld-find-code-refs
72-
7370
description: Job for finding and sending feature flag code references to LaunchDarkly
74-
7571
homepage: "https://launchdarkly.com"
76-
7772
repository:
7873
owner: launchdarkly
7974
name: homebrew-tap
80-
token: "{{ .Env.GITHUB_TOKEN }}"
81-
82-
folder: Formula
83-
75+
# token: "{{ .Env.GITHUB_TOKEN }}"
76+
git:
77+
url: [email protected]:launchdarkly/homebrew-tap.git
78+
private_key: "{{ .Env.LAUNCHDARKLY_HOMEBREW_TAP_DEPLOY_KEY }}"
79+
directory: Formula
8480
url_template: "https://github.com/launchdarkly/ld-find-code-refs/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
85-
8681
install: |
8782
bin.install "ld-find-code-refs"
88-
8983
commit_author:
9084
name: LaunchDarklyReleaseBot
9185
@@ -97,35 +91,26 @@ release:
9791
dockers:
9892
-
9993
image_templates:
100-
- "launchdarkly/ld-find-code-refs:latest"
101-
- "launchdarkly/ld-find-code-refs:{{ .Version }}"
102-
94+
- "launchdarkly/ld-find-code-refs:latest"
95+
- "launchdarkly/ld-find-code-refs:{{ .Version }}"
10396
dockerfile: Dockerfile
104-
10597
-
10698
goos: linux
107-
10899
# GOARCH of the built binaries/packages that should be used.
109100
goarch: amd64
110101
ids:
111-
- ld-find-code-refs-github-action
112-
102+
- ld-find-code-refs-github-action
113103
image_templates:
114-
- "launchdarkly/ld-find-code-refs-github-action:latest"
115-
- "launchdarkly/ld-find-code-refs-github-action:{{ .Version }}"
116-
104+
- "launchdarkly/ld-find-code-refs-github-action:latest"
105+
- "launchdarkly/ld-find-code-refs-github-action:{{ .Version }}"
117106
dockerfile: Dockerfile.github
118107
-
119108
goos: linux
120-
121109
# GOARCH of the built binaries/packages that should be used.
122110
goarch: amd64
123-
124-
image_templates:
125-
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:latest"
126-
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:{{ .Version }}"
127-
128111
ids:
129-
- ld-find-code-refs-bitbucket-pipeline
130-
112+
- ld-find-code-refs-bitbucket-pipeline
113+
image_templates:
114+
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:latest"
115+
- "launchdarkly/ld-find-code-refs-bitbucket-pipeline:{{ .Version }}"
131116
dockerfile: Dockerfile.bitbucket

0 commit comments

Comments
 (0)