Skip to content

Commit 37013e5

Browse files
authored
fix: build kimi cli the bin is wrong (#144)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 parent 84ad964 commit 37013e5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
run: make build
5050

5151
- name: Smoke test binary --help
52-
run: ./dist/kimi --help
52+
run: |
53+
./dist/kimi --help | grep "Kimi" || { echo "Error: kimi --help did not produce expected output"; exit 1; }
5354
5455
- name: Upload binary artifact
5556
if: success()

kimi.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from kimi_cli.utils.pyinstaller import datas, hiddenimports
44

55
a = Analysis(
6-
["src/kimi_cli/__init__.py"],
6+
["src/kimi_cli/cli.py"],
77
pathex=[],
88
binaries=[],
99
datas=datas,

0 commit comments

Comments
 (0)