Commit 9aa60da
fix(ci): filter Kokoro release check to releases with general assets (#26)
The original tag-name-only filter shipped in #24 would have flagged
`model-files-v1.1` as an upgrade candidate even though that release
ships only a Mandarin variant (`kokoro-v1.1-zh.onnx` /
`voices-v1.1-zh.bin`). Bumping engine.py URLs to it would silently
swap the multilingual model for a Chinese-focused one.
Tightens the jq filter to require both `kokoro-vX.Y.onnx` and
`voices-vX.Y.bin` assets to be present in the release before treating
it as a successor. With this in place the workflow currently resolves
`model-files-v1.0` (== pinned) and reports up-to-date, as it should.
A future general release (with non-suffixed asset names) will surface
correctly.
This was meant to land as a follow-up commit on #24 but the squash
merge captured only the first commit on that branch. Filing as its
own PR.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f62c91b commit 9aa60da
1 file changed
Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | | - | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
58 | 74 | | |
59 | | - | |
| 75 | + | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
| |||
0 commit comments