Skip to content

Commit

Permalink
Update goreleaser configs from ci-mgmt source
Browse files Browse the repository at this point in the history
  • Loading branch information
rquitales committed Jan 25, 2025
1 parent ace8d39 commit 7578070
Show file tree
Hide file tree
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
Expand Up @@ -8,25 +8,42 @@ before:
- make schema
- make k8sprovider
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/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/version.Version={{.Tag}}
binary: pulumi-resource-kubernetes
- 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/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-kubernetes
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down
33 changes: 25 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,42 @@ before:
- make schema
- make k8sprovider
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/
ldflags: &a2
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/version.Version={{.Tag}}
binary: pulumi-resource-kubernetes
- 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/
ldflags:
- -s
- -w
- -X
github.com/pulumi/pulumi-kubernetes/provider/v4/pkg/version.Version={{.Tag}}
ldflags: *a2
binary: pulumi-resource-kubernetes
hooks:
post:
- make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
Expand Down

0 comments on commit 7578070

Please sign in to comment.