|
@@ -1,3 +1,5 @@
|
|
|
|
|
+version: 2
|
|
|
|
|
+
|
|
|
project_name: gitleaks
|
|
project_name: gitleaks
|
|
|
|
|
|
|
|
builds:
|
|
builds:
|
|
@@ -15,17 +17,26 @@ builds:
|
|
|
goarm:
|
|
goarm:
|
|
|
- "6"
|
|
- "6"
|
|
|
- "7"
|
|
- "7"
|
|
|
|
|
+ ignore:
|
|
|
|
|
+ - goos: windows
|
|
|
|
|
+ goarch: arm
|
|
|
tags:
|
|
tags:
|
|
|
- gore2regex
|
|
- gore2regex
|
|
|
ldflags:
|
|
ldflags:
|
|
|
- -s -w -X=github.com/zricethezav/gitleaks/v8/version.Version={{.Version}}
|
|
- -s -w -X=github.com/zricethezav/gitleaks/v8/version.Version={{.Version}}
|
|
|
archives:
|
|
archives:
|
|
|
- - builds: [gitleaks]
|
|
|
|
|
|
|
+ - ids: [gitleaks]
|
|
|
|
|
+ name_template: >-
|
|
|
|
|
+ {{ .ProjectName }}_
|
|
|
|
|
+ {{- .Version }}_
|
|
|
|
|
+ {{- .Os }}_
|
|
|
|
|
+ {{- if eq .Arch "amd64" }}x64
|
|
|
|
|
+ {{- else if eq .Arch "386" }}x32
|
|
|
|
|
+ {{- else }}{{ .Arch }}{{ end }}
|
|
|
|
|
+ {{- with .Arm }}v{{ . }}{{ end }}
|
|
|
format_overrides:
|
|
format_overrides:
|
|
|
- goos: windows
|
|
- goos: windows
|
|
|
- format: zip
|
|
|
|
|
- replacements:
|
|
|
|
|
- amd64: x64
|
|
|
|
|
- 386: x32
|
|
|
|
|
|
|
+ formats: [zip]
|
|
|
release:
|
|
release:
|
|
|
prerelease: true
|
|
prerelease: true
|
|
|
|
|
+
|