Skip to content

Commit

Permalink
set env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kemosabert committed Jan 9, 2024
1 parent 84de55e commit 458acfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
project_name: gitleaks

builds:
- env:
- CGO_ENABLED=0
- main: main.go
- main: ./main.go
binary: gitleaks
goos:
- darwin
Expand All @@ -19,6 +17,8 @@ builds:
- "7"
ldflags:
- -s -w -X=github.com/AikidoSec/gitleaks/cmd.Version={{.Version}}
env:
- CGO_ENABLED=0
archives:
- builds: [gitleaks]
format_overrides:
Expand Down

0 comments on commit 458acfa

Please sign in to comment.