Here is the brews
section of my .goreleaser.yml
file:
brews:\n - name: xxx\n repository:\n owner: jftuga\n name: homebrew-tap\n commit_author:\n name: xxx\n email: xxx\n homepage: xxx\n description: xxx\n test: system \"#{bin}/dtdiff -v\"\n token: \"{{ .Env.HOMEBREW_TOKEN }}\"\n install: bin.install \"xxx\"
How can I fix this?
\nThis works without token
if i manually run it from my local system, but I now want this to be apart of a GitHub Action.
Thanks.
","upvoteCount":2,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"token must be inside the repository part, as per docs https://goreleaser.com/customization/homebrew/
","upvoteCount":1,"url":"https://github.com/orgs/goreleaser/discussions/4924#discussioncomment-9721542"}}}-
I have a code repo and want to use goreleaser to build binaries and then push to a separate homebrew-tap repo. I am seeing this error with
Here is the brews:
- name: xxx
repository:
owner: jftuga
name: homebrew-tap
commit_author:
name: xxx
email: xxx
homepage: xxx
description: xxx
test: system "#{bin}/dtdiff -v"
token: "{{ .Env.HOMEBREW_TOKEN }}"
install: bin.install "xxx" How can I fix this? This works without Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
token must be inside the repository part, as per docs https://goreleaser.com/customization/homebrew/ |
Beta Was this translation helpful? Give feedback.
token must be inside the repository part, as per docs https://goreleaser.com/customization/homebrew/