Skip to content

Commit ca0cb31

Browse files
committed
changes made
1 parent e8314f5 commit ca0cb31

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.goreleaser.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ version: 2
1111
builds:
1212
- env:
1313
- CGO_ENABLED=0
14+
# Disable binary building for libraries
15+
skip: true
16+
# But still build for these platforms (for testing)
1417
goos:
1518
- linux
16-
- darwin # Changed from 'windows' since it's a library
19+
- darwin
1720
goarch:
1821
- amd64
19-
- arm64 # Added ARM support
22+
- arm64
2023

2124
archives:
22-
- formats: [tar.gz] # Simplified - no need for zip since it's a library
23-
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
25+
- formats: [tar.gz]
26+
# Include source files
27+
files:
28+
- "*.go"
29+
- "go.*"
2430

2531
# Remove changelog filters (keep default behavior)
2632
changelog: {}

0 commit comments

Comments
 (0)