Skip to content

Commit

Permalink
fix: build ldflags for gorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit Charolia committed Jul 20, 2023
1 parent f363e3e commit b92726c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '22 10 * * 0'

Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ before:
builds:
- main: ./main.go
binary: goenv
ldflags: -linkmode external -extldflags -static
ldflags: -linkmode external
env:
- CGO_ENABLED=1
goos:
Expand Down

0 comments on commit b92726c

Please sign in to comment.