mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-06 02:29:54 -06:00
* feat: split remaining backends and drop embedded backends - Drop silero-vad, huggingface, and stores backend from embedded binaries - Refactor Makefile and Dockerfile to avoid building grpc backends - Drop golang code that was used to embed backends - Simplify building by using goreleaser Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore(gallery): be specific with llama-cpp backend templates Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore(docs): update Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore(ci): minor fixes Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * chore: drop all ffmpeg references Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * fix: run protogen-go Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Always enable p2p mode Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Update gorelease file Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * fix(stores): do not always load Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Fix linting issues Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Simplify Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Mac OS fixup Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
34 lines
819 B
YAML
34 lines
819 B
YAML
version: 2
|
|
before:
|
|
hooks:
|
|
- make protogen-go
|
|
- go mod tidy
|
|
dist: release
|
|
source:
|
|
enabled: true
|
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
|
builds:
|
|
-
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s -w
|
|
- -X "github.com/mudler/LocalAI/internal.Version={{ .Tag }}"
|
|
- -X "github.com/mudler/LocalAI/internal.Commit={{ .FullCommit }}"
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
#- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
archives:
|
|
- formats: [ 'binary' ] # this removes the tar of the archives, leaving the binaries alone
|
|
name_template: local-ai-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
|
|
checksum:
|
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-next"
|
|
changelog:
|
|
use: github-native
|