-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.goreleaser.yml
More file actions
49 lines (45 loc) · 1.29 KB
/
.goreleaser.yml
File metadata and controls
49 lines (45 loc) · 1.29 KB
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
version: 2
project_name: stepsecurity-dev-machine-guard
builds:
- id: stepsecurity-dev-machine-guard
main: ./cmd/stepsecurity-dev-machine-guard
binary: stepsecurity-dev-machine-guard
goos:
- darwin
- windows
goarch:
- amd64
- arm64
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w
- -X github.com/step-security/dev-machine-guard/internal/buildinfo.GitCommit={{.FullCommit}}
- -X github.com/step-security/dev-machine-guard/internal/buildinfo.ReleaseTag={{.Tag}}
- -X github.com/step-security/dev-machine-guard/internal/buildinfo.ReleaseBranch={{.Branch}}
env:
- CGO_ENABLED=0
universal_binaries:
- id: universal
ids:
- stepsecurity-dev-machine-guard
replace: true
name_template: "stepsecurity-dev-machine-guard-{{ .Version }}-darwin_unnotarized"
archives:
- id: darwin
ids:
- universal
formats:
- binary
name_template: "stepsecurity-dev-machine-guard-{{ .Version }}-darwin_unnotarized"
- id: windows
ids:
- stepsecurity-dev-machine-guard
formats:
- binary
name_template: "stepsecurity-dev-machine-guard-{{ .Version }}-windows_{{ .Arch }}"
release:
draft: true
extra_files:
- glob: stepsecurity-dev-machine-guard.sh