Initial commit
This commit is contained in:
29
deployment-templates/.goreleaser.yml
Normal file
29
deployment-templates/.goreleaser.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user