Skip to content

Commit

Permalink
Bump version to 2 and update ldflags for shared variables in goreleas…
Browse files Browse the repository at this point in the history
…er configuration
  • Loading branch information
dz0ny committed Dec 10, 2024
1 parent 4e2b2ed commit 64296d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 1
version: 2

before:
hooks:
Expand All @@ -20,7 +20,7 @@ builds:
gcflags:
- all=-trimpath=${GOPATH}
ldflags:
- -s -w -X shared.Version={{.Version}} -X shared.Commit={{.Commit}} -X shared.Date={{.Date}}
- -s -w -X paretosecurity.com/auditor/shared.Version={{.Version}} -X paretosecurity.com/auditor/shared.Commit={{.Commit}} -X paretosecurity.com/auditor/shared.Date={{.Date}}
binary: paretosecurity

archives:
Expand Down

0 comments on commit 64296d7

Please sign in to comment.