Skip to content

Commit

Permalink
ci: print ollama latest vers
Browse files Browse the repository at this point in the history
  • Loading branch information
enricorotundo committed Feb 11, 2025
1 parent c476f95 commit efdac19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ EOF
latest_version=$(curl -sf https://api.github.com/repos/ollama/ollama/releases/latest |
grep '"tag_name":' |
sed -E 's/.*"v([^"]+)".*/\1/')
echo "Latest version: $latest_version" | log_with_service_name "Ollama" $RED

if [ -z "$latest_version" ]; then
echo "Failed to get latest version from GitHub" | log_with_service_name "Ollama" $RED
Expand Down

0 comments on commit efdac19

Please sign in to comment.