-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yaml
51 lines (45 loc) · 1 KB
/
.goreleaser.yaml
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
version: 2
project_name: ftl
builds:
- id: ftl
main: ./main.go
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- id: release_archive
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE
- README.md
release:
github:
owner: yarlson
name: ftl
draft: true
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
brews:
- name: ftl
repository:
owner: yarlson
name: homebrew-ftl
url_template: "https://github.com/yarlson/ftl/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Yar Kravtsov
email: [email protected]
homepage: "https://github.com/yarlson/ftl"
description: "FTL - Faster Than Light deployment tool"
license: "MIT"
test: |
system "#{bin}/ftl --version"
install: |
bin.install "ftl"