From 218bdda86a25c27204429e28d73209dc32f4b945 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 28 Mar 2024 16:16:03 -0400 Subject: [PATCH] fix(ollama) changed github org closes #5734 --- projects/ollama.ai/package.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/ollama.ai/package.yml b/projects/ollama.ai/package.yml index 6b0282be..0614c3ef 100644 --- a/projects/ollama.ai/package.yml +++ b/projects/ollama.ai/package.yml @@ -1,9 +1,9 @@ distributable: - url: git+https://github.com/jmorganca/ollama + url: git+https://github.com/ollama/ollama ref: v{{version}} versions: - github: jmorganca/ollama + github: ollama/ollama dependencies: curl.se/ca-certs: '*' @@ -22,7 +22,10 @@ build: - go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' . env: GO_LDFLAGS: + # versions older than 0.1.30 - -X github.com/jmorganca/ollama/version.Version={{version}} + # new versions + - -X github.com/ollama/ollama/version.Version={{version}} linux: GO_LDFLAGS: # else segfaults