-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
51 lines (45 loc) · 1.06 KB
/
.goreleaser.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
project_name: envsec
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/envsec/main.go
binary: envsec
flags:
- -trimpath
mod_timestamp: "{{ .CommitTimestamp }}" # For reproducible builds
ldflags:
- -s -w # Strip debug
- -X go.jetpack.io/envsec/internal/build.Version={{.Version}}
- -X go.jetpack.io/envsec/internal/build.Commit={{.Commit}}
- -X go.jetpack.io/envsec/internal/build.CommitDate={{.CommitDate}}
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- linux
- windows
goarch:
- "386"
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: "386"
archives:
- files:
- no-files-will-match-* # Glob that does not match to create archive with only binaries.
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
prerelease: auto
draft: true
github:
owner: jetify-com
name: envsec
snapshot:
name_template: "{{ .Tag }}-devel"