diff --git a/.vscode/settings.json b/.vscode/settings.json index 64f4e3dd..15eec4d7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -59,6 +59,7 @@ "maputil", "Ogmios", "treerender", + "trimpath", "upbit", "Validatable" ] diff --git a/cmd/gofer/.goreleaser.yml b/cmd/gofer/.goreleaser.yml index 781486e6..f10f3c5e 100644 --- a/cmd/gofer/.goreleaser.yml +++ b/cmd/gofer/.goreleaser.yml @@ -22,13 +22,16 @@ builds: goarch: 386 - goos: windows goarch: amd64 + mod_timestamp: '{{ .CommitTimestamp }}' + flags: + - -trimpath ldflags: -s -w -X main.appname={{.ProjectName}} -X main.version={{.Version}} -X main.commit={{.Commit}} - -X main.date={{.Date}} + -X main.date={{.CommitDate}} -X main.builtBy=orcfax-goreleaser -X github.com/chronicleprotocol/oracle-suite/pkg/config/dataprovider.version={{.Version}} archives: