Skip to content

Commit cd993a8

Browse files
committed
Update .gitignore and .goreleaser.yml for improved artifact management
- Added 'pathdigest' to .gitignore to exclude specific files from version control. - Refined .goreleaser.yml by simplifying archive definitions and standardizing naming conventions for better clarity in build artifacts.
1 parent b9febaa commit cd993a8

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist/
1+
dist/
2+
pathdigest

.goreleaser.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,10 @@ builds:
2222
# - -X main.goVersion={{.GoVersion}}
2323

2424
archives:
25-
- format: tar.gz
26-
name_template: >-
27-
{{ .ProjectName }}_
28-
{{- if eq .Os "darwin" }}macOS
29-
{{- else }}{{ .Os }}{{ end }}_
30-
{{- .Arch }}
31-
{{- if .Arm }}v{{ .Arm }}{{ end }}
32-
files:
33-
- README.md
34-
- id: pathdigest-binary
25+
- id: tar.gz
26+
format: tar.gz
27+
- id: binary
3528
format: binary
36-
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
3729

3830
checksum:
3931
name_template: "checksums.txt"

0 commit comments

Comments
 (0)