[PR #2150] [MERGED] Set a default version using git describe #57499

Closed
opened 2026-04-29 12:08:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2150
Author: @dhiltgen
Created: 1/23/2024
Status: Merged
Merged: 1/23/2024
Merged by: @dhiltgen

Base: mainHead: default_version


📝 Commits (1)

  • 3005ec7 Set a default version using git describe

📊 Changes

3 files changed (+3 additions, -3 deletions)

View changed files

📝 scripts/build_darwin.sh (+1 -1)
📝 scripts/build_docker.sh (+1 -1)
📝 scripts/build_linux.sh (+1 -1)

📄 Description

If a VERSION is not specified, this will generate a version string that represents the state of the repo. For example 0.1.21-12-gffaf52e-dirty representing 12 commits away from 0.1.21 tag, on commit gffaf52e and the tree is dirty.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/2150 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/23/2024 **Status:** ✅ Merged **Merged:** 1/23/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `default_version` --- ### 📝 Commits (1) - [`3005ec7`](https://github.com/ollama/ollama/commit/3005ec74b33fbe44b568240a5b95a7f54e0e3f3b) Set a default version using git describe ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `scripts/build_darwin.sh` (+1 -1) 📝 `scripts/build_docker.sh` (+1 -1) 📝 `scripts/build_linux.sh` (+1 -1) </details> ### 📄 Description If a VERSION is not specified, this will generate a version string that represents the state of the repo. For example `0.1.21-12-gffaf52e-dirty` representing 12 commits away from 0.1.21 tag, on commit gffaf52e and the tree is dirty. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 12:08:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#57499