[ X] Description: Briefly describe the changes in this pull request.
[ X] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ X] Documentation: Have you updated relevant documentation?
[ X] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
fix version check if there version has an -rc tag
Changelog Entry
Fixed
version fails if there is an -rc in the version string
🔄 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/open-webui/open-webui/pull/1340
**Author:** [@joequant](https://github.com/joequant)
**Created:** 3/28/2024
**Status:** ✅ Merged
**Merged:** 4/7/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `main`
---
### 📝 Commits (2)
- [`c9f17ec`](https://github.com/open-webui/open-webui/commit/c9f17ecb3a03ba5e8d0c4bd15c28be1eda8b8346) allow version to work with -rc tag
- [`395ca82`](https://github.com/open-webui/open-webui/commit/395ca821754d2fadf8a730ed13fd1ed691954305) refac: '-rc' tag handling
### 📊 Changes
**1 file changed** (+14 additions, -3 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/apps/ollama/main.py` (+14 -3)
</details>
### 📄 Description
## Pull Request Checklist
- [ X] **Description:** Briefly describe the changes in this pull request.
- [ X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ X] **Documentation:** Have you updated relevant documentation?
- [ X] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
fix version check if there version has an -rc tag
---
### Changelog Entry
### Fixed
- version fails if there is an -rc in the version string
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1340
Author: @joequant
Created: 3/28/2024
Status: ✅ Merged
Merged: 4/7/2024
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (2)
c9f17ecallow version to work with -rc tag395ca82refac: '-rc' tag handling📊 Changes
1 file changed (+14 additions, -3 deletions)
View changed files
📝
backend/apps/ollama/main.py(+14 -3)📄 Description
Pull Request Checklist
Description
fix version check if there version has an -rc tag
Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.