We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8314f5 commit ca0cb31Copy full SHA for ca0cb31
.goreleaser.yaml
@@ -11,16 +11,22 @@ version: 2
11
builds:
12
- env:
13
- CGO_ENABLED=0
14
+ # Disable binary building for libraries
15
+ skip: true
16
+ # But still build for these platforms (for testing)
17
goos:
18
- linux
- - darwin # Changed from 'windows' since it's a library
19
+ - darwin
20
goarch:
21
- amd64
- - arm64 # Added ARM support
22
+ - arm64
23
24
archives:
- - formats: [tar.gz] # Simplified - no need for zip since it's a library
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
25
+ - formats: [tar.gz]
26
+ # Include source files
27
+ files:
28
+ - "*.go"
29
+ - "go.*"
30
31
# Remove changelog filters (keep default behavior)
32
changelog: {}
0 commit comments