-
Notifications
You must be signed in to change notification settings - Fork 13
/
.goreleaser_linux_amd64_amzn2023.yaml
65 lines (50 loc) · 1.33 KB
/
.goreleaser_linux_amd64_amzn2023.yaml
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
# https://goreleaser.com/customization/builds/
builds:
- id: gpud
binary: gpud
main: ./cmd/gpud
env:
- CGO_ENABLED=1
flags:
- -v
# NOTE: the "v" prefix from the git tag is stripped for the {{.Version}}
ldflags:
- -s -w
- -X github.com/leptonai/gpud/version.BuildTimestamp={{.CommitTimestamp}}
- -X github.com/leptonai/gpud/version.Revision={{.Commit}}
- -X github.com/leptonai/gpud/version.Version=v{{.Version}}
goos:
- linux
goarch:
- amd64
# https://goreleaser.com/customization/archive/
archives:
- id: gpud
format: tgz
# "builds" reference which build instances should be archived in this archive
builds:
- gpud
name_template: >-
{{ .Binary }}_v{{- .Version }}_{{- .Os }}_{{ .Arch }}_amzn2023
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
# https://goreleaser.com/customization/changelog/
changelog:
use: github-native
release:
draft: false
replace_existing_draft: true
make_latest: true
mode: replace
github:
owner: leptonai
name: gpud
header: |
## GPUd release notes ({{ .Date }})
Welcome to this new release!
name_template: "{{.ProjectName}}-v{{.Version}}"
# ref. https://goreleaser.com/customization/checksum/?h=checksum
checksum:
disable: true