Skip to content

Commit

Permalink
update .goreleaser to v2 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Jun 18, 2024
1 parent dc193be commit 8fa08e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -72,7 +74,7 @@ release:
# Update the 'generic' brew formula and create a versioned brew formula for artifacts from this release
brews:
- name: "{{ .Env.BREW_NAME }}"
tap:
repository:
owner: defenseunicorns
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand All @@ -91,7 +93,7 @@ brews:
# NOTE: We are using .Version instead of .Tag because homebrew has weird semver parsing rules and won't be able to
# install versioned releases that has a `v` character before the version number.
- name: "zarf@{{ .Version }}"
tap:
repository:
owner: defenseunicorns
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand All @@ -111,4 +113,4 @@ blobs:
- provider: s3
region: us-gov-west-1
bucket: zarf-public
folder: "release/{{.Version}}"
directory: "release/{{.Version}}"

0 comments on commit 8fa08e7

Please sign in to comment.