-
Notifications
You must be signed in to change notification settings - Fork 10
/
.goreleaser.yml
75 lines (73 loc) · 1.52 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
before:
hooks:
- make test
builds:
- dir: ./task/bq2bq
main: .
id: "bq2bq"
binary: "optimus-bq2bq_{{.Os}}_{{.Arch}}"
ldflags:
- -s -w -X main.Version={{.Version}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- src : ./task/bq2bq/optimus-plugin-bq2bq.yaml
dst : "."
strip_parent: true
release:
prerelease: auto
draft: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{.Version}}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
- '^build:'
dockers:
- goos: linux
goarch: amd64
image_templates:
- "docker.io/odpf/optimus-task-bq2bq-executor:latest"
- "docker.io/odpf/optimus-task-bq2bq-executor:{{ .Version }}"
dockerfile: ./task/bq2bq/executor/Dockerfile
extra_files:
- task/bq2bq/executor
brews:
- name: optimus-plugins-odpf
tap:
owner: odpf
name: taps
license: "Apache 2.0"
folder: Formula
description: "Optimus Plugins for warehouse"
skip_upload: auto
dependencies:
- odpf/taps/optimus
commit_author:
name: github-actions[bot]
email: 41898282+github-actions[bot]@users.noreply.github.com
install: |
bin.install Dir["optimus-*"]