Skip to content

Commit e18f90b

Browse files
committed
Refactor .goreleaser.yml to specify main Go file path and adjust archive settings. Removed snapshot section and updated file naming templates for archives.
1 parent 2966cf6 commit e18f90b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.goreleaser.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,28 @@ builds:
1717
- arm
1818
goarm:
1919
- 7
20-
main: ./cmd/gitlab-runner-tui
20+
main: ./cmd/gitlab-runner-tui/main.go
2121
binary: gitlab-runner-tui
2222
ldflags:
2323
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
2424

2525
archives:
26-
- format: tar.gz
27-
name_template: >-
26+
- name_template: >-
2827
{{ .ProjectName }}_
2928
{{- title .Os }}_
3029
{{- if eq .Arch "amd64" }}x86_64
3130
{{- else if eq .Arch "386" }}i386
3231
{{- else }}{{ .Arch }}{{ end }}
3332
{{- if .Arm }}v{{ .Arm }}{{ end }}
33+
files:
34+
- none*
3435
format_overrides:
35-
- goos: windows
36-
format: zip
36+
- goos: windows
37+
format: zip
3738
3839
checksum:
3940
name_template: 'checksums.txt'
4041

41-
snapshot:
42-
name_template: "{{ incpatch .Version }}-next"
43-
4442
changelog:
4543
sort: asc
4644
filters:

0 commit comments

Comments
 (0)