-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
53 lines (47 loc) · 1.12 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
main: ./cmd/forklift/main.go
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static" -X github.com/homeport/forklift/internal/cmd.version={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
release:
name_template: "{{.ProjectName}} release v{{.Version}}"
changelog:
disable: false
use: github
filters:
exclude:
- "Merge pull request"
- "dependabot"
brews:
- repository:
owner: homeport
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/homeport/forklift/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: GoReleaser Bot
email: [email protected]
directory: HomebrewFormula
homepage: "https://github.com/homeport/forklift"
description: "Container Image manipulation tool"
license: "MIT"
skip_upload: false
test: |
system "#{bin}/forklift version"