fix(ollama)

changed github org

closes #5734
This commit is contained in:
Jacob Heider 2024-03-28 16:16:03 -04:00 committed by Jacob Heider
parent b70f838748
commit 218bdda86a

View file

@ -1,9 +1,9 @@
distributable: distributable:
url: git+https://github.com/jmorganca/ollama url: git+https://github.com/ollama/ollama
ref: v{{version}} ref: v{{version}}
versions: versions:
github: jmorganca/ollama github: ollama/ollama
dependencies: dependencies:
curl.se/ca-certs: '*' curl.se/ca-certs: '*'
@ -22,7 +22,10 @@ build:
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' . - go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' .
env: env:
GO_LDFLAGS: GO_LDFLAGS:
# versions older than 0.1.30
- -X github.com/jmorganca/ollama/version.Version={{version}} - -X github.com/jmorganca/ollama/version.Version={{version}}
# new versions
- -X github.com/ollama/ollama/version.Version={{version}}
linux: linux:
GO_LDFLAGS: GO_LDFLAGS:
# else segfaults # else segfaults