From 8f6e1287edff8e1d78f6a62238039257f373b1ab Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:54:21 -0700 Subject: [PATCH] [internal] Update GitHub Actions workflow files (#40) --- .goreleaser.prerelease.yml | 37 +++++++++++++++++++++++ .goreleaser.yml | 62 ++++++++++++++++++++------------------ 2 files changed, 69 insertions(+), 30 deletions(-) create mode 100644 .goreleaser.prerelease.yml diff --git a/.goreleaser.prerelease.yml b/.goreleaser.prerelease.yml new file mode 100644 index 0000000..7904a3e --- /dev/null +++ b/.goreleaser.prerelease.yml @@ -0,0 +1,37 @@ +# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt + +project_name: pulumi-kubernetes-cert-manager +builds: +- dir: provider + env: + - CGO_ENABLED=0 + - GO111MODULE=on + goos: + - darwin + - windows + - linux + goarch: + - amd64 + - arm64 + ignore: [] + main: ./cmd/pulumi-resource-kubernetes-cert-manager/ + ldflags: + - -X + github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}} + binary: pulumi-resource-kubernetes-cert-manager +archives: +- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" + id: archive +snapshot: + name_template: "{{ .Tag }}-SNAPSHOT" +changelog: + skip: true +release: + disable: true +blobs: +- provider: s3 + region: us-west-2 + bucket: get.pulumi.com + folder: releases/plugins/ + ids: + - archive diff --git a/.goreleaser.yml b/.goreleaser.yml index 78e0aaf..64cda8b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,35 +1,37 @@ -archives: - - id: archive - name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}' -before: - hooks: - - make build_provider -blobs: - - bucket: get.pulumi.com - folder: releases/plugins/ - ids: - - archive - provider: s3 - region: us-west-2 +# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt + +project_name: pulumi-kubernetes-cert-manager builds: - - binary: pulumi-resource-kubernetes-cert-manager - dir: provider - env: - - CGO_ENABLED=0 - goarch: - - amd64 - - arm64 - goos: - - darwin - - windows - - linux - ldflags: - - -X github.com/pulumi/pulumi-kubernetes-cert-manager/pkg/version.Version={{.Tag }} - main: ./cmd/pulumi-resource-kubernetes-cert-manager/ +- dir: provider + env: + - CGO_ENABLED=0 + - GO111MODULE=on + goos: + - darwin + - windows + - linux + goarch: + - amd64 + - arm64 + ignore: [] + main: ./cmd/pulumi-resource-kubernetes-cert-manager/ + ldflags: + - -X + github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}} + binary: pulumi-resource-kubernetes-cert-manager +archives: +- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" + id: archive +snapshot: + name_template: "{{ .Tag }}-SNAPSHOT" changelog: skip: true release: disable: false - prerelease: auto -snapshot: - name_template: '{{ .Tag }}-SNAPSHOT' +blobs: +- provider: s3 + region: us-west-2 + bucket: get.pulumi.com + folder: releases/plugins/ + ids: + - archive