-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
61 lines (59 loc) · 1.14 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
54
55
56
57
58
59
60
61
homepage: &homepage https://github.com/rai-project/dockerfile-builder
description: &description Dockerfile builder
build:
main: ./main.go
binary: dfb
flags: -tags cloudfoundry
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: linux
goarch: arm
goarm: 7
hooks:
pre: go generate
# post: ./script.sh
archive:
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.TXT
# brew:
# github:
# owner: rai-project
# name: homebrew-tap
# folder: Formula
# homepage: *homepage
# description: *description
# dependencies:
# - git
# fpm:
# homepage: *homepage
# description: *description
# maintainer: Carlos Alexandro Becker <[email protected]>
# license: MIT
# vendor: GoReleaser
# formats:
# - deb
# dependencies:
# - git