fix: CLI does not produce release binaries

This commit is contained in:
Julian Tölle 2024-05-05 00:59:49 +02:00
parent 415c47e3d1
commit ccc5c2a4fb
3 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,9 @@ version: 1
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X {{ .ModulePath }}/internal/version.version={{ .Version }}
- -X {{ .ModulePath }}/internal/version.versionPrerelease=
goos:
- linux
- windows
@ -25,6 +28,9 @@ archives:
- goos: windows
format: zip
snapshot:
name_template: "{{ .Version }}-dev+{{ .ShortCommit }}"
changelog:
# Generated by release-please
disable: true