Skip to content

Commit 0ee301c

Browse files
author
eversC
committed
Convert ldflags to array
1 parent 80e21e9 commit 0ee301c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.goreleaser.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ builds:
2626
goarch:
2727
- amd64
2828
ldflags:
29-
- -s -w -X github.com/ovotech/cloud-key-rotator/cmd/cobra.version={{.Version}} -X github.com/ovotech/cloud-key-rotator/cmd/cobra.commit={{.ShortCommit}} -X github.com/ovotech/cloud-key-rotator/cmd/cobra.date={{.Date}} -X github.com/ovotech/cloud-key-rotator/cmd/cobra.osArch={{.Os}}
29+
- -s -w
30+
- -X github.com/ovotech/cloud-key-rotator/cmd/cobra.version={{.Version}}
31+
- -X github.com/ovotech/cloud-key-rotator/cmd/cobra.commit={{.ShortCommit}}
32+
- -X github.com/ovotech/cloud-key-rotator/cmd/cobra.date={{.Date}}
33+
- -X github.com/ovotech/cloud-key-rotator/cmd/cobra.osArch={{.Os}}/{{.Arch}}
3034
- id: lambda-build
3135
binary: cloud-key-rotator
3236
main: ./cmd/

0 commit comments

Comments
 (0)