Skip to content

Commit 539e5ef

Browse files
committed
fix: add .tar.gz extension to source archive name template
- Terraform Registry expects the source file to be named with .tar.gz extension - Update name_template to include the extension in the filename - Fixes 'missing files in request body' error when publishing to registry
1 parent d1cd5b5 commit 539e5ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,5 @@ snapshot:
152152
# Source configuration
153153
source:
154154
enabled: true
155-
name_template: "{{ .ProjectName }}_{{ .Version }}_source"
155+
name_template: "{{ .ProjectName }}_{{ .Version }}_source.tar.gz"
156156
format: "tar.gz"

0 commit comments

Comments
 (0)