Skip to content

Commit

Permalink
Merge pull request #13 from stefanb/fix-ldflags
Browse files Browse the repository at this point in the history
goreleaser: Fix ldflags after project structure
  • Loading branch information
IoTServ authored Mar 1, 2025
2 parents e727e8b + 775f004 commit e747efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ builds:
- goos: android
goarch: amd64
ldflags:
- -s -w -X info.Version={{.Version}} -X info.Commit={{.Commit}} -X info.Date={{ .CommitDate }} -X info.BuiltBy=goreleaser
- -s -w -X github.com/OpenIoTHub/gateway-go/info.Version={{.Version}} -X github.com/OpenIoTHub/gateway-go/info.Commit={{.Commit}} -X github.com/OpenIoTHub/gateway-go/info.Date={{ .CommitDate }} -X github.com/OpenIoTHub/gateway-go/info.BuiltBy=goreleaser

archives:
# use zip for windows archives
Expand Down

0 comments on commit e747efd

Please sign in to comment.