Skip to content

Commit

Permalink
Work in progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
qa-swaneet-sahoo authored and GollyTicker committed Oct 17, 2023
1 parent 28cd056 commit 533d71d
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions template.goreleaser.yaml
Expand Up @@ -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: goreleaser@carlosbecker.com

# 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
Expand Down

0 comments on commit 533d71d

Please sign in to comment.