Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a versioned brew formula for each release #1084

Merged
merged 2 commits into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ release:
extra_files:
- glob: ./build/zarf-init-*

# Create a brew tap recipe that uses the new binary artifacts and push it to our tap
# Update the 'generic' brew formula and create a versioned brew formula for artifacts from this release
brews:
- name: zarf
tap:
Expand All @@ -69,6 +69,15 @@ brews:
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://zarf.dev/"
description: "An airgap delivery tool!"
- name: "zarf@{{ .Tag }}"
tap:
owner: defenseunicorns
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} versioned release {{ .Tag }}"
homepage: "https://zarf.dev/"
description: "An airgap delivery tool!"


# Upload artifact backups to s3
blobs:
Expand Down