generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
56 lines (50 loc) · 1.14 KB
/
.goreleaser.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
51
52
53
54
55
56
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
- make out/baremetal-provisioner.service
- make out/install.sh
builds:
- id: resource
binary: pulumi-resource-baremetal
dir: provider
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- darwin
- windows
- linux
ldflags:
- -X github.com/unmango/pulumi-baremetal/provider.Version={{.Tag}}
main: ./cmd/pulumi-resource-baremetal/
- id: provisioner
binary: provisioner
dir: provider
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- darwin
- windows
- linux
ldflags:
- -X github.com/unmango/pulumi-baremetal/provider.Version={{.Tag}}
main: ./cmd/provisioner
archives:
- id: archive
name_template: pulumi-resource-baremetal-{{ .Tag }}-{{ .Os }}-{{ .Arch }}
release:
disable: false
prerelease: auto
extra_files:
- glob: dist/provisioner-*
- glob: out/install.sh
- glob: out/baremetal-provisioner.service
snapshot:
version_template: '{{ .Tag }}-SNAPSHOT'