forked from jleben/slack-chat-resource
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
104 lines (98 loc) · 2.37 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod tidy
builds:
- &build
id: slack-post-resource-check
main: ./post/check/main.go
binary: check
env:
- CGO_ENABLED=0
goarch:
- amd64
goos:
- darwin
- linux
- <<: *build
id: slack-post-resource-in
main: ./post/in/main.go
binary: in
- <<: *build
id: slack-post-resource-out
main: ./post/out/main.go
binary: out
- <<: *build
id: slack-read-resource-check
main: ./read/check/main.go
binary: check
- <<: *build
id: slack-read-resource-in
main: ./read/in/main.go
binary: in
- <<: *build
id: slack-read-resource-out
main: ./read/out/main.go
binary: out
archives:
- id: slack-read-resource
name_template: "slack-read-resource_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
builds:
- slack-read-resource-check
- slack-read-resource-in
- slack-read-resource-out
files:
- LICENSE
- README.md
- id: slack-post-resource
name_template: "slack-post-resource_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
builds:
- slack-post-resource-check
- slack-post-resource-in
- slack-post-resource-out
files:
- LICENSE
- README.md
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: cludden
name: slack-chat-resource
dockers:
- binaries:
- check
- in
- out
builds:
- slack-read-resource-check
- slack-read-resource-in
- slack-read-resource-out
dockerfile: Dockerfile
image_templates:
#- "cludden/slack-read-resource:latest"
- "cludden/slack-read-resource:{{ .Tag }}"
- "cludden/slack-read-resource:v{{ .Major }}"
- binaries:
- check
- in
- out
builds:
- slack-post-resource-check
- slack-post-resource-in
- slack-post-resource-out
dockerfile: Dockerfile
image_templates:
#- "cludden/slack-post-resource:latest"
- "cludden/slack-post-resource:{{ .Tag }}"
- "cludden/slack-post-resource:v{{ .Major }}"