File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 66
77 workflow_dispatch : # Keep manual trigger
88 inputs :
9- rc_version :
10- description : ' RC version number (e.g., 1, 2, 3 )'
9+ version :
10+ description : ' Version number (e.g. 0.0.63.dev20250111 )'
1111 required : true
1212 type : string
1313
@@ -26,13 +26,13 @@ jobs:
2626 - name : Update version for manual RC
2727 if : github.event_name == 'workflow_dispatch'
2828 run : |
29- sed -i 's/version = "\([^"]*\)"/version = "\1rc ${{ inputs.rc_version }}"/' pyproject.toml
30- sed -i 's/__version__ = "\([^"]*\)"/__version__ = "\1rc ${{ inputs.rc_version }}"/' src/llama_stack_client/_version.py
29+ sed -i 's/version = "\([^"]*\)"/version = "${{ inputs.version }}"/' pyproject.toml
30+ sed -i 's/__version__ = "\([^"]*\)"/__version__ = "${{ inputs.version }}"/' src/llama_stack_client/_version.py
3131 - name : Update version for repository_dispatch
3232 if : github.event_name == 'repository_dispatch' && github.event.client_payload.source == 'llama-stack-nightly'
3333 run : |
34- sed -i 's/version = "\([^"]*\)"/version = "\1 ${{ github.event.client_payload.version }}"/' pyproject.toml
35- sed -i 's/__version__ = "\([^"]*\)"/__version__ = "\1 ${{ github.event.client_payload.version }}"/' src/llama_stack_client/_version.py
34+ sed -i 's/version = "\([^"]*\)"/version = "${{ github.event.client_payload.version }}"/' pyproject.toml
35+ sed -i 's/__version__ = "\([^"]*\)"/__version__ = "${{ github.event.client_payload.version }}"/' src/llama_stack_client/_version.py
3636 - name : Set up Python
3737 uses : actions/setup-python@v5
3838 with :
You can’t perform that action at this time.
0 commit comments