-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28cd056
commit 533d71d
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,74 @@ nfpms: | |
- src: 'release/tmp/protoc-__PROTO_VERSION__-{{ .Os }}-{{ .Arch }}/include/google/protobuf' | ||
dst: '/opt/protocurl/protocurl-internal/include/google/protobuf' | ||
|
||
|
||
brews: | ||
- name: protocurl | ||
|
||
# GitHub/GitLab repository to push the formula to | ||
tap: | ||
owner: GollyTicker | ||
name: homebrew-tap | ||
|
||
# Optionally a branch can be provided. | ||
# Defaults to the default repository branch. | ||
branch: main | ||
# todo. use current branch here. | ||
|
||
# Template for the url which is determined by the given Token (github, gitlab or gitea) | ||
# | ||
# Default depends on the client. | ||
url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}" | ||
|
||
# Allows you to set a custom download strategy. Note that you'll need | ||
# to implement the strategy and add it to your tap repository. | ||
# Example: https://docs.brew.sh/Formula-Cookbook#specifying-the-download-strategy-explicitly | ||
# Default is empty. | ||
download_strategy: CurlDownloadStrategy | ||
|
||
# Allows you to add a custom require_relative at the top of the formula template | ||
# Default is empty | ||
custom_require: custom_download_strategy | ||
|
||
# Git author used to commit to the repository. | ||
# Defaults are shown. | ||
commit_author: | ||
name: goreleaserbot | ||
email: [email protected] | ||
|
||
# The project name and current git tag are used in the format string. | ||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" | ||
|
||
# Folder inside the repository to put the formula. | ||
# Default is the root folder. | ||
folder: Formula | ||
|
||
# Caveats for the user of your binary. | ||
# Default is empty. | ||
caveats: "How to use this binary" | ||
|
||
# Your app's homepage. | ||
# Default is empty. | ||
homepage: "https://example.com/" | ||
|
||
# Template of your app's description. | ||
# Default is empty. | ||
description: "Software to create fast and easy drum rolls." | ||
|
||
license: MIT | ||
|
||
# Setting this will prevent goreleaser to actually try to commit the updated | ||
# formula - instead, the formula file will be stored on the dist folder only, | ||
# leaving the responsibility of publishing it to the user. | ||
# If set to auto, the release will not be uploaded to the homebrew tap | ||
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 | ||
# Default is false. | ||
skip_upload: false | ||
# todo. this should be set to auto | ||
|
||
dependencies: | ||
- name: curl | ||
|
||
release: | ||
# If set to auto, will mark the release as not ready for production | ||
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1 | ||
|