forked from Checkmarx/kics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser-apispec.yml
47 lines (46 loc) · 1.25 KB
/
.goreleaser-apispec.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
44
45
46
47
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 }}
- -X github.com/Checkmarx/kics/internal/constants.APIScanner={{ .Env.APISCANNER }}
archives:
- builds: [kics]
format_overrides:
- goos: windows
format: zip
replacements:
amd64: x64
386: x32
files:
- LICENSE
- assets/queries/openAPI/**/metadata.json
- assets/queries/openAPI/**/*.rego
- assets/queries/common/**/metadata.json
- assets/queries/common/**/*.rego
- assets/libraries/openapi.rego
- assets/libraries/common.rego
release:
prerelease: true
snapshot:
name_template: apispec