forked from Checkmarx/kics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser-nightly.yml
43 lines (42 loc) · 1.01 KB
/
.goreleaser-nightly.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
project_name: kics
builds:
- main: ./cmd/console/main.go
binary: kics
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarm: 7
- goos: windows
goarm: 7
ldflags:
- -s
- -w
- -X github.com/Checkmarx/kics/internal/constants.Version={{ .Version }}-{{ .ShortCommit }}-{{ .Date }}
- -X github.com/Checkmarx/kics/internal/constants.SCMCommit={{ .Commit }}
- -X github.com/Checkmarx/kics/internal/constants.SentryDSN={{ .Env.SENTRY_DSN }}
- -X github.com/Checkmarx/kics/internal/constants.BaseURL={{ .Env.DESCRIPTIONS_URL }}
archives:
- builds: [kics]
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x64
386: x32
files:
- LICENSE
- assets/queries/**/metadata.json
- assets/queries/**/*.rego
- assets/libraries
release:
prerelease: true
snapshot:
name_template: nightly