Skip to content

Commit 3f6ddda

Browse files
committed
change project name variable
1 parent f10103d commit 3f6ddda

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

.goreleaser.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
version: 2
2-
project_name: hatchet
2+
project_name: terraform-provider-hatchet
33
before:
44
hooks:
55
- go mod tidy
66
builds:
7-
- env:
8-
# goreleaser does not work with CGO, it could also complicate
9-
# usage by users in CI/CD systems like HCP Terraform where
10-
# they are unable to install libraries.
11-
- CGO_ENABLED=0
12-
mod_timestamp: '{{ .CommitTimestamp }}'
13-
flags:
14-
- -trimpath
15-
ldflags:
16-
- '-s -w -X main.version={{.Version}}'
17-
goos:
18-
- freebsd
19-
- windows
20-
- linux
21-
- darwin
22-
goarch:
23-
- amd64
24-
- '386'
25-
- arm
26-
- arm64
27-
ignore:
28-
- goos: darwin
29-
goarch: '386'
30-
binary: '{{ .ProjectName }}_v{{ .Version }}'
7+
- env:
8+
# goreleaser does not work with CGO, it could also complicate
9+
# usage by users in CI/CD systems like HCP Terraform where
10+
# they are unable to install libraries.
11+
- CGO_ENABLED=0
12+
mod_timestamp: "{{ .CommitTimestamp }}"
13+
flags:
14+
- -trimpath
15+
ldflags:
16+
- "-s -w -X main.version={{.Version}}"
17+
goos:
18+
- freebsd
19+
- windows
20+
- linux
21+
- darwin
22+
goarch:
23+
- amd64
24+
- "386"
25+
- arm
26+
- arm64
27+
ignore:
28+
- goos: darwin
29+
goarch: "386"
30+
binary: "{{ .ProjectName }}_v{{ .Version }}"
3131
archives:
32-
- format: zip
33-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
32+
- format: zip
33+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3434
checksum:
3535
extra_files:
36-
- glob: 'terraform-registry-manifest.json'
37-
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
38-
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
36+
- glob: "terraform-registry-manifest.json"
37+
name_template: "{{ .ProjectName }}_{{ .Version }}_manifest.json"
38+
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
3939
algorithm: sha256
4040
signs:
4141
- artifacts: checksum
4242
args:
43-
# if you are using this in a GitHub action or some other automated pipeline, you
43+
# if you are using this in a GitHub action or some other automated pipeline, you
4444
# need to pass the batch flag to indicate its not interactive.
4545
- "--batch"
4646
- "--local-user"
@@ -51,8 +51,8 @@ signs:
5151
- "${artifact}"
5252
release:
5353
extra_files:
54-
- glob: 'terraform-registry-manifest.json'
55-
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
54+
- glob: "terraform-registry-manifest.json"
55+
name_template: "{{ .ProjectName }}_{{ .Version }}_manifest.json"
5656
# If you want to manually examine the release before its live, uncomment this line:
5757
# draft: true
5858
changelog:

0 commit comments

Comments
 (0)