Skip to content

Commit

Permalink
Make the build reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Feb 12, 2024
1 parent 0e2aee6 commit 79a2329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"maputil",
"Ogmios",
"treerender",
"trimpath",
"upbit",
"Validatable"
]
Expand Down
5 changes: 4 additions & 1 deletion cmd/gofer/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 79a2329

Please sign in to comment.