We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4523a63 commit ccba5beCopy full SHA for ccba5be
1 file changed
.goreleaser.yaml
@@ -17,7 +17,7 @@ before:
17
- go mod tidy
18
19
builds:
20
- - main: ./main.go
+ - main: .
21
binary: code-lang
22
env:
23
- CGO_ENABLED=0
@@ -35,14 +35,14 @@ builds:
35
- -trimpath
36
ldflags:
37
- -s -w
38
- - -X github.com/walonCode/code-lang/main.Version={{ .Version }}
39
- - -X github.com/walonCode/code-lang/main.Commit={{ .Commit }}
+ - -X main.Version={{ .Version }}
+ - -X main.Commit={{ .Commit }}
40
41
archives:
42
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
43
format_overrides:
44
- goos: windows
45
- format: zip
+ - formats: ['zip']
46
files:
47
- README.md
48
- LICENSE
0 commit comments