Skip to content

Commit 901714a

Browse files
zhaotaiclaude
andauthored
Bump version to 2.0.1 (#88)
* Bump version to 2.0.1 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * fix * comment publish for now * no publish for now * install dev as ell * fix hatch server depds issue * tokne * lint * uncomment publish --------- Co-authored-by: Claude <[email protected]>
1 parent 91d041f commit 901714a

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.github/workflows/publish_release.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343

4444
- name: Set version output
4545
id: version
46-
run: echo "version=$(uv run python -c "from importlib.metadata import version; print(version('llama-index-workflows'))")" >> $GITHUB_OUTPUT
46+
run: |
47+
VERSION=$(uv run python -c "from importlib.metadata import version; print(version('llama-index-workflows'))")
48+
echo "Version: $VERSION"
49+
echo "version=$VERSION" >> $GITHUB_OUTPUT
4750
4851
- name: Build and publish
4952
env:
@@ -54,7 +57,7 @@ jobs:
5457
5558
- name: Generate OpenAPI spec
5659
run: |
57-
uv sync --extra server
60+
uv sync --all-extras
5861
uv run hatch run server:openapi
5962
6063
- name: Create GitHub Release
@@ -79,11 +82,19 @@ jobs:
7982
echo "change_description=" >> $GITHUB_OUTPUT
8083
fi
8184
85+
- name: Generate GitHub App Token
86+
id: app-token
87+
uses: actions/create-github-app-token@v1
88+
with:
89+
app-id: ${{ secrets.CI_BOT_APP_ID }}
90+
private-key: ${{ secrets.CI_BOT_PRIVATE_KEY }}
91+
owner: run-llama
92+
8293
- name: Trigger SDK Update
8394
if: steps.sdk_params.outputs.change_type != 'none' && steps.sdk_params.outputs.change_type != ''
8495
uses: peter-evans/repository-dispatch@v3
8596
with:
86-
token: ${{ secrets.LLAMA_UI_DISPATCH_TOKEN }}
97+
token: ${{ steps.app-token.outputs.token }}
8798
repository: run-llama/llama-ui
8899
event-type: workflows-sdk-update
89100
client-payload: '{"version": "${{ steps.version.outputs.version }}", "openapi_url": "https://github.com/run-llama/workflows-py/releases/download/v${{ steps.version.outputs.version }}/openapi.json", "change_type": "${{ steps.sdk_params.outputs.change_type }}", "change_description": "${{ steps.sdk_params.outputs.change_description }}"}'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dev = [
1616

1717
[project]
1818
name = "llama-index-workflows"
19-
version = "2.0.0"
19+
version = "2.0.1"
2020
description = "An event-driven, async-first, step-based way to control the execution flow of AI applications like Agents."
2121
readme = "README.md"
2222
license = "MIT"
@@ -42,6 +42,7 @@ packages = ["src/workflows"]
4242

4343
[tool.hatch.envs.server]
4444
features = ["server"]
45+
dependencies = ["pyyaml>=6.0.2"]
4546

4647
[tool.hatch.envs.server.scripts]
4748
openapi = "python -m workflows.server.server --output openapi.json"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)