Skip to content

Commit c046082

Browse files
committed
ci(build.yml): grab project version from pyproject.toml
Signed-off-by: Vaughn Dice <vdice@akamai.com>
1 parent 33f9b68 commit c046082

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ jobs:
2525
source venv/bin/activate
2626
pip install componentize-py==0.23.0 http-router==4.1.2 build==1.4.2 mypy==1.13
2727
python -m build
28-
pip install dist/spin_sdk-4.0.0-py3-none-any.whl
28+
VERSION=$(yq '.package.version' pyproject.toml)
29+
pip install dist/spin_sdk-${VERSION}-py3-none-any.whl
2930
bash run_tests.sh

0 commit comments

Comments
 (0)