forked from ory/hydra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
80 lines (72 loc) · 1.49 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: hydra
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
flags:
- -a
ldflags:
- -s -w -X github.com/ory/hydra/cmd.Version={{.Env.RELEASE_NAME}} -X github.com/ory/hydra/cmd.Commit={{.FullCommit}} -X github.com/ory/hydra/cmd.Date={{.Date}}
binary: hydra
env:
- CGO_ENABLED=0
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
goos:
- freebsd
- linux
- windows
- darwin
archives:
-
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: 32-bit
amd64: 64-bit
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
brew:
github:
owner: ory
name: homebrew-hydra
homepage: https://www.ory.sh
commit_author:
name: ory
email: [email protected]
scoop:
bucket:
owner: ory
name: scoop-hydra
homepage: https://www.ory.sh
commit_author:
name: ory
email: [email protected]
dockers:
- image_templates:
- "oryd/hydra:v{{ .Major }}"
- "oryd/hydra:v{{ .Major }}.{{ .Minor }}"
- "oryd/hydra:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "oryd/hydra:{{ .Env.DOCKER_SHORT_TAG }}"
- "oryd/hydra:latest"
release:
prerelease: auto
name_template: "{{.Env.RELEASE_NAME}}"