We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f8fc3 commit 85e4d08Copy full SHA for 85e4d08
.github/workflows/publish-to-test.yaml
@@ -17,6 +17,8 @@ jobs:
17
uses: actions/setup-python@v4
18
with:
19
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
22
- name: Install dependencies
23
run: |
24
python3 -m pip install --upgrade pip build
0 commit comments