-
Notifications
You must be signed in to change notification settings - Fork 35
/
.goreleaser.yaml
82 lines (75 loc) · 1.91 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: 2
builds:
- id: default
main: ./cmd/koyeb
binary: koyeb
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
ignore:
- goos: darwin
goarch: "386"
- goos: linux
goarch: "386"
ldflags:
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.BuildDate={{ .Date }}
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Version={{ .Version }}
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Commit={{ .ShortCommit }}
- id: windows
main: ./cmd/koyeb
binary: koyeb
env:
- CGO_ENABLED=0
goos:
- windows
ignore:
- goos: windows
goarch: "386"
ldflags:
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.BuildDate={{ .Date }}
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Version={{ .Version }}
- -X github.com/koyeb/koyeb-cli/pkg/koyeb.Commit={{ .ShortCommit }}
archives:
- id: windows
builds:
- windows
wrap_in_directory: false
format: zip
- id: default
builds:
- default
files: [only-the-binary*]
wrap_in_directory: false
format: tar.gz
release:
prerelease: auto
header: |
## The best version ever of Koyeb CLI is here!
Welcome to this new release!
Check the changelog in [CHANGES.md](https://github.com/koyeb/koyeb-cli/blob/master/CHANGES.md) for more details.
For upgrade instructions, see [README.md](https://github.com/koyeb/koyeb-cli/blob/master/README.md).
dockers:
- goos: linux
goarch: amd64
image_templates:
- "koyeb/koyeb-cli:latest"
- "koyeb/koyeb-cli:v{{ .Version }}"
skip_push: auto
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{.Branch}}-{{.ShortCommit}}"
brews:
- repository:
owner: koyeb
name: homebrew-tap
name: koyeb
directory: Formula
homepage: https://koyeb.com
skip_upload: auto
test: |
system "#{bin}/koyeb version"
install: |
bin.install "koyeb"