From ce059f427024ff19adc7a86f6d2a949880b0fde3 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Fri, 23 Feb 2024 16:43:11 +0000 Subject: [PATCH] Started work to add goreleaser Signed-off-by: James Humphries --- .goreleaser.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..f78cd1b --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,24 @@ +archives: + - id: archive + name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" +before: + hooks: + - make tfgen +builds: + - binary: pulumi-resource-spacelift + dir: provider + goarch: + - amd64 + - arm64 + goos: + - darwin + - windows + - linux + ignore: [] + ldflags: + - -X github.com/pulumi/pulumi-spacelift/provider/pkg/version.Version={{.Tag}} + main: ./cmd/pulumi-resource-spacelift/ +release: + disable: false +snapshot: + name_template: "{{ .Tag }}-SNAPSHOT" \ No newline at end of file