fix: goreleaser yaml

This commit is contained in:
Oleg Lobanov 2023-11-02 22:48:29 +01:00
parent a744bd224f
commit 4d0a68e787
No known key found for this signature in database
1 changed files with 26 additions and 26 deletions

View File

@ -4,32 +4,32 @@ env:
- GO111MODULE=on - GO111MODULE=on
builds: builds:
env: - env:
- CGO_ENABLED=0 - CGO_ENABLED=0
ldflags: ldflags:
- -s -w -X github.com/filebrowser/filebrowser/v2/version.Version={{ .Version }} -X github.com/filebrowser/filebrowser/v2/version.CommitSHA={{ .ShortCommit }} - -s -w -X github.com/filebrowser/filebrowser/v2/version.Version={{ .Version }} -X github.com/filebrowser/filebrowser/v2/version.CommitSHA={{ .ShortCommit }}
main: main.go main: main.go
binary: filebrowser binary: filebrowser
goos: goos:
- darwin - darwin
- linux - linux
- windows - windows
- freebsd - freebsd
goarch: goarch:
- amd64 - amd64
- 386 - 386
- arm - arm
- arm64 - arm64
- riscv64 - riscv64
goarm: goarm:
- 5 - 5
- 6 - 6
- 7 - 7
ignore: ignore:
- goos: darwin - goos: darwin
goarch: 386 goarch: 386
- goos: freebsd - goos: freebsd
goarch: arm goarch: arm
archives: archives:
- -