forked from pulumi/pulumi-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
47 lines (42 loc) · 853 Bytes
/
.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
version: 2
builds:
- binary: pulumi-language-java
id: pulumi-language-java
dir: pkg
main: ./cmd/pulumi-language-java
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -X github.com/pulumi/pulumi-java/pkg/version.Version={{.Tag}}
- binary: pulumi-java-gen
id: pulumi-java-gen
dir: pkg
main: ./cmd/pulumi-java-gen
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -X github.com/pulumi/pulumi-java/pkg/version.Version={{.Tag}}
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
checksum:
name_template: 'checksums.txt'