Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update goreleaser configs from ci-mgmt source
Browse files Browse the repository at this point in the history
rquitales committed Jan 25, 2025

Verified

This commit was signed with the committer’s verified signature. The key has expired.
renovate-bot Mend Renovate
1 parent a3d3831 commit b0cee53
Showing 2 changed files with 50 additions and 16 deletions.
33 changes: 25 additions & 8 deletions .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
@@ -2,25 +2,42 @@

project_name: pulumi-kubernetes-cert-manager
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-kubernetes-cert-manager
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-kubernetes-cert-manager
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
33 changes: 25 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -2,25 +2,42 @@

project_name: pulumi-kubernetes-cert-manager
builds:
- dir: provider
- id: build-provider
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
ignore: &a1 []
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-kubernetes-cert-manager
- id: build-provider-sign-windows
dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: *a1
main: ./cmd/pulumi-resource-kubernetes-cert-manager/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes-cert-manager/provider/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-kubernetes-cert-manager
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive

0 comments on commit b0cee53

Please sign in to comment.