Skip to content

Commit 0e6a6b1

Browse files
committed
chore(ci): Goreleaser to always create a draft
1 parent c1aabbb commit 0e6a6b1

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.goreleaser.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,33 @@ before:
55
# this is just an example and not a requirement for provider building/publishing
66
- go mod tidy
77
builds:
8-
- env:
9-
# goreleaser does not work with CGO, it could also complicate
10-
# usage by users in CI/CD systems like Terraform Cloud where
11-
# they are unable to install libraries.
12-
- CGO_ENABLED=0
13-
mod_timestamp: '{{ .CommitTimestamp }}'
14-
flags:
15-
- -trimpath
16-
ldflags:
17-
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18-
goos:
19-
- freebsd
20-
- windows
21-
- linux
22-
- darwin
23-
goarch:
24-
- amd64
25-
- '386'
26-
- arm
27-
- arm64
28-
ignore:
29-
- goos: darwin
30-
goarch: '386'
31-
binary: 'kfutil'
8+
- env:
9+
# goreleaser does not work with CGO, it could also complicate
10+
# usage by users in CI/CD systems like Terraform Cloud where
11+
# they are unable to install libraries.
12+
- CGO_ENABLED=0
13+
mod_timestamp: '{{ .CommitTimestamp }}'
14+
flags:
15+
- -trimpath
16+
ldflags:
17+
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18+
goos:
19+
- freebsd
20+
- windows
21+
- linux
22+
- darwin
23+
goarch:
24+
- amd64
25+
- '386'
26+
- arm
27+
- arm64
28+
ignore:
29+
- goos: darwin
30+
goarch: '386'
31+
binary: 'kfutil'
3232
archives:
33-
- format: zip
34-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
33+
- format: zip
34+
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3535
checksum:
3636
extra_files:
3737
- glob: 'integration-manifest.json'
@@ -56,19 +56,19 @@ release:
5656
- glob: 'integration-manifest.json'
5757
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
5858
# If you want to manually examine the release before its live, uncomment this line:
59-
# draft: true
59+
draft: true
6060
changelog:
6161
sort: asc
6262
use: github
6363
filters:
6464
exclude:
65-
- '^test:'
66-
- '^chore'
67-
- 'merge conflict'
68-
- Merge pull request
69-
- Merge remote-tracking branch
70-
- Merge branch
71-
- go mod tidy
65+
- '^test:'
66+
- '^chore'
67+
- 'merge conflict'
68+
- Merge pull request
69+
- Merge remote-tracking branch
70+
- Merge branch
71+
- go mod tidy
7272
groups:
7373
- title: Dependency updates
7474
regexp: "^.*(feat|fix)\\(deps\\)*:+.*$"

0 commit comments

Comments
 (0)