Skip to content

Commit 0c2b37c

Browse files
Fixed modtime for reproducible goreleaser (#473)
The modtime setting was missing that was required for making goreleaser builds consistent. Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
1 parent c57b509 commit 0c2b37c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ builds:
2121
- arm64
2222
flags:
2323
- -trimpath
24+
mod_timestamp: '{{ .CommitTimestamp }}'
2425
ldflags:
2526
- "{{ .Env.SERVER_LDFLAGS }}"
2627

@@ -40,6 +41,7 @@ builds:
4041
goarch: arm64
4142
flags:
4243
- -trimpath
44+
mod_timestamp: '{{ .CommitTimestamp }}'
4345
ldflags:
4446
- "{{ .Env.CLIENT_LDFLAGS }}"
4547

0 commit comments

Comments
 (0)