1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-01 00:54:57 +02:00

feat: support custom tokens in Homebrew & Scoop (#1650)

This commit is contained in:
Radek Simko
2020-07-06 21:12:41 +01:00
committed by GitHub
parent 0d4f605388
commit ab8bb7f2f3
18 changed files with 258 additions and 75 deletions

View File

@ -44,6 +44,8 @@ brews:
tap:
owner: repo-owner
name: homebrew-tap
# Optionally a token can be provided, if it differs from the token provided to GoReleaser
token: {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

View File

@ -21,6 +21,8 @@ scoop:
bucket:
owner: user
name: scoop-bucket
# Optionally a token can be provided, if it differs from the token provided to GoReleaser
token: {{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}
# Git author used to commit to the repository.
# Defaults are shown.