-
Notifications
You must be signed in to change notification settings - Fork 16
/
.goreleaser.cf2pulumi.yml
50 lines (50 loc) · 1.14 KB
/
.goreleaser.cf2pulumi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
before:
hooks:
- make init_submodules
- make codegen
- make generate_schema
builds:
- goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
ldflags: -X github.com/pulumi/pulumi-aws-native/provider/version.Version={{.Tag}}
binary: cf2pulumi
dir: provider
main: ./cmd/cf2pulumi/
archives:
- name_template: >-
{{- .Binary }}-
{{- .Tag }}-
{{- .Os }}-
{{- if eq .Arch "amd64" }}x64
{{- else if eq .Arch "386" }}x86
{{- else }}{{ .Arch }}{{ end -}}
format_overrides:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
changelog:
skip: true
release:
name_template: "{{.ProjectName}}-v{{.Version}}"
project_name: cf2pulumi
brews:
-
name: cf2pulumi
repository:
owner: pulumi
name: homebrew-tap
commit_author:
name: pulumi-bot
email: bot@pulumi.com
homepage: "https://pulumi.com"
description: "A tool to convert CloudFormation Templates to Pulumi programs"
folder: Formula
license: Apache-2.0
test: |
system "#{bin}/cf2pulumi version"