Skip to content

Commit 52afca9

Browse files
authored
chore: [REL-4161] update goreleaser config for version 1.20 (#549)
Apparently, the config properties have changed over time, and `directory` used to be called `folder`. Docs for GoReleaser 1.20 can be found [here](https://github.com/goreleaser/goreleaser/blob/v1.20.0/www/docs/customization/homebrew.md). Eventually, it would be good to update the Goreleaser version here, but for now I just want to cut a new release as it's blocking a fair number of improvements, some of which are kinda important. I had also removed the `ids` property, but I'm adding it back in here. I don't really understand what it's for. The docs say: `IDs of the archives to use`. not sure what that means, but seems like leaving this in for now would make the most sense, since it has existed up until this point. <!-- ld-jira-link --> --- Related Jira issue: [REL-4161: Migrate ld-find-code-refs from Releaser to GHA](https://launchdarkly.atlassian.net/browse/REL-4161) <!-- end-ld-jira-link -->
1 parent 140599b commit 52afca9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ nfpms:
5757

5858
brews:
5959
- name: ld-find-code-refs
60+
ids:
61+
- ld-find-code-refs
6062
description: Job for finding and sending feature flag code references to LaunchDarkly
6163
homepage: "https://launchdarkly.com"
6264
repository:
@@ -66,7 +68,7 @@ brews:
6668
git:
6769
url: [email protected]:launchdarkly/homebrew-tap.git
6870
private_key: "{{ .Env.HOMEBREW_GH_TOKEN }}"
69-
directory: Formula
71+
folder: Formula
7072
url_template: "https://github.com/launchdarkly/ld-find-code-refs/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
7173
install: |
7274
bin.install "ld-find-code-refs"

0 commit comments

Comments
 (0)