forked from phoenix/litellm-mirror
(ci/cd) Update read_pyproject_version.yml
This commit is contained in:
parent
c2aec7d20b
commit
0718fae540
1 changed files with 2 additions and 1 deletions
3
.github/workflows/read_pyproject_version.yml
vendored
3
.github/workflows/read_pyproject_version.yml
vendored
|
@ -24,7 +24,8 @@ jobs:
|
|||
- name: Read version from pyproject.toml
|
||||
id: read-version
|
||||
run: |
|
||||
echo "LITELLM_VERSION=$(python -c 'import toml; print(toml.load(\"pyproject.toml\")['tool']['commitizen']['version'])')" >> $GITHUB_ENV
|
||||
version=$(python -c 'import toml; print(toml.load("pyproject.toml")["tool"]["commitizen"]["version"])')
|
||||
printf "LITELLM_VERSION=%s" "$version" >> $GITHUB_ENV
|
||||
|
||||
- name: Display version
|
||||
run: echo "Current version is $LITELLM_VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue