Files
pulumi-docker-build/deployment-templates/.goreleaser.yml
2024-03-07 11:17:15 -08:00

30 lines
629 B
YAML

archives:
- id: archive
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
before:
hooks:
- make gen
builds:
- binary: pulumi-resource-xyz
dir: provider
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- darwin
- windows
- linux
ldflags:
# The line below MUST align with the module in current provider/go.mod
- -X github.com/your-org-name/pulumi-xyz/provider/Version={{.Tag }}
main: ./cmd/pulumi-resource-xyz/
changelog:
skip: true
release:
disable: false
prerelease: auto
snapshot:
name_template: '{{ .Tag }}-SNAPSHOT'