-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
49 lines (40 loc) · 943 Bytes
/
.goreleaser.yml
File metadata and controls
49 lines (40 loc) · 943 Bytes
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
# .goreleaser.yml
project_name: telee
env:
- GO111MODULE=on
# Build destination
github_urls:
# set to true if you use a self-signed certificate
skip_tls_verify: false
before:
hooks:
- go mod tidy
builds:
- main: cmd/main.go
id: telee
binary: telee
targets:
- linux_amd64
- linux_arm64
- darwin_amd64
- darwin_arm64
ldflags:
- -s -w -X github.com/umatare5/telee/cli.version={{ .Version }}
env:
- CGO_ENABLED=0
asmflags:
- all=-trimpath=.
gcflags:
- all=-trimpath=.
dockers:
- id: telee
image_templates:
- 'ghcr.io/umatare5/telee:latest'
- 'ghcr.io/umatare5/telee:{{ .Tag }}'
dockerfile: .goreleaser/Dockerfile
archives:
- name_template: '{{ .ProjectName }}-v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
release:
prerelease: auto
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}_checksums.txt"