fix: update version and fix docs release notes link

This commit is contained in:
Ashwin Bharambe 2025-03-03 11:48:57 -08:00
parent 789f918042
commit af396e3809
4 changed files with 10 additions and 3 deletions

View file

@ -21,6 +21,10 @@ with Path(__file__).parent.parent.parent.joinpath("pyproject.toml").open("rb") a
pyproject = tomli.load(f)
llama_stack_version = pyproject["project"]["version"]
# generate the full link including text and url here
llama_stack_version_url = f"https://github.com/meta-llama/llama-stack/releases/tag/v{llama_stack_version}"
llama_stack_version_link = f"<a href='{llama_stack_version_url}'>release notes</a>"
project = "llama-stack"
copyright = "2025, Meta"
author = "Meta"
@ -74,6 +78,7 @@ myst_enable_extensions = [
myst_substitutions = {
"docker_hub": "https://hub.docker.com/repository/docker/llamastack",
"llama_stack_version": llama_stack_version,
"llama_stack_version_link": llama_stack_version_link,
}
suppress_warnings = ['myst.header']

View file

@ -1,7 +1,7 @@
```{admonition} News
:class: tip
Llama Stack {{ llama_stack_version }} is now available! See the [release notes](https://github.com/meta-llama/llama-stack/releases/tag/v{{ llama_stack_version }}) for more details.
Llama Stack {{ llama_stack_version }} is now available! See the {{ llama_stack_version_link }} for more details.
```
# Llama Stack

View file

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "llama_stack"
version = "0.1.4"
version = "0.1.5"
authors = [{ name = "Meta Llama", email = "llama-oss@meta.com" }]
description = "Llama Stack"
readme = "README.md"

4
uv.lock generated
View file

@ -1,4 +1,5 @@
version = 1
revision = 1
requires-python = ">=3.10"
resolution-markers = [
"(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')",
@ -852,7 +853,7 @@ wheels = [
[[package]]
name = "llama-stack"
version = "0.1.4"
version = "0.1.5"
source = { editable = "." }
dependencies = [
{ name = "blobfile" },
@ -968,6 +969,7 @@ requires-dist = [
{ name = "types-setuptools", marker = "extra == 'dev'" },
{ name = "uvicorn", marker = "extra == 'dev'" },
]
provides-extras = ["dev", "test", "docs", "codegen"]
[[package]]
name = "llama-stack-client"