Skip to content

Commit

Permalink
Update GoReleaser config
Browse files Browse the repository at this point in the history
Update GoReleaser config to latest schema.
  • Loading branch information
HeavyWombat committed Jul 26, 2024
1 parent 2447f2e commit 0ea0ede
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- arm64
- amd64
main: ./cmd/yft/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/yft/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- arm64
- amd64
main: ./cmd/yft/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/yft/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'

checksum:
name_template: 'checksums.txt'
Expand All @@ -25,27 +25,27 @@ release:
name_template: "{{.ProjectName}} release v{{.Version}}"

changelog:
skip: false
disable: true
sort: ""
filters:
exclude:
- '^docs:'
- '^test:'

brews:
- tap:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/yft/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: [email protected]
directory: HomebrewFormula
homepage: "https://github.com/homeport/yft"
description: "yft - YAML file tool"
license: "MIT"
skip_upload: false
test: |
system "#{bin}/yft version"
- repository:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/yft/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: [email protected]
directory: HomebrewFormula
homepage: "https://github.com/homeport/dyff"
description: "yft - YAML file tool"
license: "MIT"
skip_upload: false
test: |
system "#{bin}/yft version"

0 comments on commit 0ea0ede

Please sign in to comment.