Skip to content

Commit e5b500e

Browse files
committed
fix: artifact names
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent 6ee70ba commit e5b500e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.goreleaser.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ checksum:
4343
# https://goreleaser.com/customization/source/
4444
source:
4545
enabled: true
46+
name_template: "{{ .ProjectName }}.src"
47+
48+
# config the archives filenames, format, and other options.
49+
# https://goreleaser.com/customization/archive
50+
archives:
51+
- formats: [tar.gz]
52+
wrap_in_directory: true
53+
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
54+
builds_info:
55+
mtime: "{{ .CommitTimestamp }}"
4656

4757
# creates SBOMs of all archives and the source tarball using syft
4858
# https://goreleaser.com/customization/sbom

0 commit comments

Comments
 (0)