workflow update (#169)

This commit is contained in:
Graham Steffaniak 2024-08-04 10:28:38 -05:00 committed by GitHub
parent af407068b6
commit 43b45203d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

22
backend/.goreleaser.yaml Normal file
View File

@ -0,0 +1,22 @@
project_name: filebrowser
builds:
- ldflags:
- -s -w
main: main.go
binary: filebrowser
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
archives:
- name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
format: binary