Skip to content

Commit

Permalink
Update goreleaser configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rquitales committed Jan 25, 2025
1 parent 283d18f commit c350576
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 54 deletions.
73 changes: 46 additions & 27 deletions .goreleaser.prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,58 @@
project_name: pulumi-command
before:
hooks:
- make codegen
- make codegen
builds:
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
id: build-provider
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
id: build-provider-sign-windows
hooks:
post: make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
- 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
- provider: s3
region: us-west-2
bucket: get.pulumi.com
folder: releases/plugins/
ids:
- archive
73 changes: 46 additions & 27 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,58 @@
project_name: pulumi-command
before:
hooks:
- make codegen
- make codegen
builds:
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
id: build-provider
- dir: provider
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- windows
goarch:
- amd64
- arm64
ignore: []
main: ./cmd/pulumi-resource-command/
ldflags:
- -s
- -w
- -X github.com/pulumi/pulumi-command/provider/pkg/version.Version={{.Tag}}
binary: pulumi-resource-command
id: build-provider-sign-windows
hooks:
post: make sign-windows-exe-{{ .Arch }}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
id: archive
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
changelog:
skip: true
release:
disable: false
blobs:
- provider: s3
region: us-west-2
bucket: get.pulumi.com
folder: releases/plugins/
ids:
- archive
- provider: s3
region: us-west-2
bucket: get.pulumi.com
folder: releases/plugins/
ids:
- archive

0 comments on commit c350576

Please sign in to comment.