File tree 3 files changed +47
-33
lines changed
3 files changed +47
-33
lines changed Original file line number Diff line number Diff line change
1
+ # Release {{ .Version }} ({{ .Date }})
Original file line number Diff line number Diff line change
1
+ ---
1
2
version : 2
3
+
4
+ project_name : terraform-provider-vcfa
5
+
2
6
before :
3
- hooks :
4
- - go mod tidy
7
+ hooks :
8
+ - go mod tidy
9
+
5
10
builds :
6
- - env :
7
- # goreleaser does not work with CGO, it could also complicate
8
- # usage by users in CI/CD systems like Terraform Cloud where
9
- # they are unable to install libraries.
10
- - CGO_ENABLED=0
11
- mod_timestamp : ' {{ .CommitTimestamp }}'
12
- flags :
13
- - -trimpath
14
- ldflags :
15
- - ' -s -w -X github.com/vmware/terraform-provider-vcfa/vcfa.BuildVersion={{.Env.BUILDVERSION}}'
11
+ - id : default
12
+ binary : ' {{ .ProjectName }}_v{{ .Version }}'
16
13
goos :
17
- - freebsd
18
- - windows
19
14
- linux
15
+ - windows
20
16
- darwin
17
+ - freebsd
21
18
goarch :
22
19
- amd64
23
20
- ' 386'
@@ -26,31 +23,41 @@ builds:
26
23
ignore :
27
24
- goos : darwin
28
25
goarch : ' 386'
29
- binary : ' {{ .ProjectName }}_v{{ .Version }}'
26
+ env :
27
+ - CGO_ENABLED=0
28
+ flags :
29
+ - -trimpath
30
+ ldflags :
31
+ - ' -s -w -X github.com/vmware/terraform-provider-vcfa/vcfa.BuildVersion={{.Env.BUILDVERSION}}'
32
+ mod_timestamp : ' {{ .CommitTimestamp }}'
33
+
30
34
archives :
31
- - format : zip
35
+ - id : default
32
36
name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
37
+ formats : ['zip']
38
+
33
39
checksum :
34
- name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
35
- algorithm : sha256
40
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
41
+ algorithm : sha256
42
+
36
43
signs :
37
- - artifacts : checksum
38
- args :
39
- # if you are using this is a GitHub action or some other automated pipeline, you
40
- # need to pass the batch flag to indicate its not interactive.
41
- - " --batch "
42
- - " --local-user "
43
- - " {{ .Env.GPG_FINGERPRINT }} " # set this environment variable for your signing key
44
- - " --output "
45
- - " ${signature} "
46
- - " --detach-sign "
47
- - " ${artifact} "
44
+ - id : default
45
+ artifacts : checksum
46
+ args :
47
+ - " -- batch"
48
+ - " --local-user "
49
+ - " {{ .Env.GPG_FINGERPRINT }} "
50
+ - " --output "
51
+ - " ${signature} "
52
+ - " --detach-sign "
53
+ - " ${artifact} "
54
+
48
55
release :
49
- # Visit your project's GitHub Releases page to publish this release.
50
- draft : true
56
+ draft : true
57
+
51
58
changelog :
52
- filters :
53
- exclude :
59
+ filters :
60
+ exclude :
54
61
- ' ^docs:'
55
62
- ' ^test:'
56
63
- Merge pull request
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : 1 ,
3
+ "metadata" : {
4
+ "protocol_versions" : [" 5.0" ]
5
+ }
6
+ }
You can’t perform that action at this time.
0 commit comments