2020-09-21 23:20:05 +00:00
|
|
|
dist: goreleaser
|
2022-06-01 13:00:43 +00:00
|
|
|
|
2020-09-21 23:20:05 +00:00
|
|
|
project_name: pulumi
|
2022-06-01 13:00:43 +00:00
|
|
|
|
2020-09-21 23:20:05 +00:00
|
|
|
builds:
|
2022-08-17 01:00:14 +00:00
|
|
|
- &pulumibin
|
|
|
|
id: pulumi
|
2021-05-10 10:11:08 +00:00
|
|
|
binary: pulumi
|
2022-09-02 05:40:13 +00:00
|
|
|
dir: pkg
|
|
|
|
main: ./cmd/pulumi
|
|
|
|
gobinary: ../scripts/go-wrapper.sh
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
- GO111MODULE=on
|
2022-08-17 01:00:14 +00:00
|
|
|
goos: ['linux', 'darwin', 'windows']
|
2022-06-01 13:00:43 +00:00
|
|
|
goarch: ['amd64', 'arm64']
|
|
|
|
goamd64: ['v1']
|
2022-09-02 05:40:13 +00:00
|
|
|
ldflags:
|
2023-12-19 09:02:55 +00:00
|
|
|
- -X github.com/pulumi/pulumi/pkg/v3/version.Version=v{{.Env.PULUMI_VERSION}}
|
2022-01-05 16:31:35 +00:00
|
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
2022-08-17 01:00:14 +00:00
|
|
|
- <<: *pulumibin
|
|
|
|
id: pulumi-language-go
|
2022-06-01 13:00:43 +00:00
|
|
|
binary: pulumi-language-go
|
2022-10-17 14:21:11 +00:00
|
|
|
dir: sdk/go/pulumi-language-go
|
|
|
|
main: ./
|
|
|
|
gobinary: ../../../scripts/go-wrapper.sh
|
2022-08-17 01:00:14 +00:00
|
|
|
- <<: *pulumibin
|
|
|
|
id: pulumi-language-nodejs
|
2022-07-27 20:05:49 +00:00
|
|
|
binary: pulumi-language-nodejs
|
2023-05-12 13:38:36 +00:00
|
|
|
dir: sdk/nodejs/cmd/pulumi-language-nodejs
|
|
|
|
main: ./
|
|
|
|
gobinary: ../../../../scripts/go-wrapper.sh
|
2022-08-17 01:00:14 +00:00
|
|
|
- <<: *pulumibin
|
|
|
|
id: pulumi-language-python
|
2020-09-21 23:20:05 +00:00
|
|
|
binary: pulumi-language-python
|
2023-08-31 16:35:21 +00:00
|
|
|
dir: sdk/python/cmd/pulumi-language-python
|
|
|
|
main: ./
|
|
|
|
gobinary: ../../../../scripts/go-wrapper.sh
|
2020-09-21 23:20:05 +00:00
|
|
|
|
|
|
|
archives:
|
2022-08-17 01:00:14 +00:00
|
|
|
- id: pulumi
|
|
|
|
wrap_in_directory: pulumi{{ if eq .Os "windows" }}/bin{{ end }}
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2021-05-10 10:11:08 +00:00
|
|
|
replacements:
|
|
|
|
amd64: x64
|
|
|
|
files:
|
2022-08-17 18:57:15 +00:00
|
|
|
# OS specific scripts, not compiled
|
2022-08-17 01:00:14 +00:00
|
|
|
- src: bin/{{ .Os }}/*
|
|
|
|
dst: '.'
|
|
|
|
strip_parent: true
|
2022-08-17 18:57:15 +00:00
|
|
|
# binaries
|
|
|
|
- src: bin/{{ .Os }}-{{ .Arch }}/*
|
|
|
|
dst: '.'
|
|
|
|
strip_parent: true
|
2021-05-10 10:11:08 +00:00
|
|
|
name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
|
2022-06-01 13:00:43 +00:00
|
|
|
|
2020-09-21 23:20:05 +00:00
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Version }}-SNAPSHOT"
|
2022-06-01 13:00:43 +00:00
|
|
|
|
2022-01-05 16:31:35 +00:00
|
|
|
checksum:
|
2020-09-21 23:20:05 +00:00
|
|
|
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
|