8000 Update publish to test pypi workflow · GPTprojects/llama-cpp-python@85e4d08 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85e4d08

Browse files
committed
Update publish to test pypi workflow
1 parent 43f8fc3 commit 85e4d08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-to-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/setup-python@v4
1818
with:
1919
python-version: "3.8"
20+
- name: Update __version__ with Git Short Hash
21+
run: sed -i "s/__version__ = .*/__version__ = '$(git rev-parse --short HEAD)'/" llama_cpp/__init__.py
2022
- name: Install dependencies
2123
run: |
2224
python3 -m pip install --upgrade pip build

0 commit comments

Comments
 (0)
0