Skip to content

Commit 5edfeeb

Browse files
committed
fix(ci): use find to locate installers in extracted artifacts; update CHANGELOG
- 'actions/download-artifact@v4' auto-extracts zip artifacts into directories, so the previous 'for file in *' loop iterated 4 directories and [ -f ] skipped all of them — explaining why run #30's release job showed 'success' but uploaded no assets - replace with 'find -type f' filtered to .dmg/.deb/.exe extensions - drop the now-redundant 'Extract installers from artifact zips' step - update CHANGELOG.md v0.1.1 entry to cover the actual changes shipped in 0.1.1: dock hiding, paste focus, tray icon, transparency, plus the text classification tweaks and cross-platform CI
1 parent 6f6d4d7 commit 5edfeeb

2 files changed

Lines changed: 23 additions & 24 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,30 +97,14 @@ jobs:
9797
- uses: actions/download-artifact@v4
9898
with:
9999
path: artifacts
100-
- name: Extract installers from artifact zips
101-
run: |
102-
set -e
103-
cd artifacts
104-
for archive in *.zip; do
105-
[ -f "$archive" ] || continue
106-
echo "::group::Extracting $archive"
107-
unzip -o -q "$archive"
108-
echo "::endgroup::"
109-
done
110-
echo "::group::Files ready to upload"
111-
ls -la
112-
echo "::endgroup::"
100+
- name: List extracted installers
101+
run: find artifacts -type f | sort
113102
- name: Upload release assets
114103
env:
115104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116105
run: |
117106
set -e
118-
cd artifacts
119-
for file in *; do
120-
case "$file" in
121-
*.zip|*.txt) continue ;;
122-
esac
123-
[ -f "$file" ] || continue
107+
find artifacts -type f \( -name "*.dmg" -o -name "*.deb" -o -name "*.exe" \) | while IFS= read -r file; do
124108
echo "Uploading $file"
125109
gh release upload "${{ github.event.release.tag_name }}" "$file" --clobber
126110
done

CHANGELOG.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,34 @@
22

33
## 0.1.1 (2025-06-04)
44

5-
### 🎯 Fixed
5+
### 🐛 Bug Fixes
66

7-
- **Text classification** — Tightened heuristic rules to stop over-classifying normal text as "code":
7+
- **Dock icon gone** — BuffBrain now sets its activation policy to *Accessory* at runtime via `objc2`, so it never appears in the Dock on macOS. `LSUIElement` in `Info.plist` alone was being ignored in some cases.
8+
- **Paste focus restored** — BuffBrain captures the frontmost app when the global shortcut is triggered, and on paste explicitly activates that app before sending ⌘V, so focus returns to where you were working.
9+
- **Tray icon** — Regenerated `tray.png` and `tray-color.png` (22×22) from the proper `buffbrain-logo.png` (replaced placeholder).
10+
- **Window readability** — Background opacity bumped from 0.72 → 0.92 (dark) / 0.95 (light) so text stays legible over busy backgrounds.
11+
12+
### 🧠 Text Classification
13+
14+
- Tightened heuristic rules to stop over-classifying normal text as "code":
815
- YAML/TOML: threshold raised from >50% to >70% kv-lines, minimum 3 lines
916
- Indentation: threshold raised from ≥40% to ≥50%, minimum 4 lines; removed Python-style colon+indent heuristic (too many false positives from lists/outlines)
1017
- Language keywords: removed common English words (`or`, `in`, `not`, `as`, `from`, `where`, `join`, `line`) from keyword lists
1118
- Error signals: removed broad `"line "` pattern
19+
- JS signal list: removed `let `, `new `, `return `, `true`, `false`, `class `, `import `, `export ` (caused false positives on prose like "let us know", "new year", "return address"). Real JS/TS is still detected by 20+ other specific rules.
1220

1321
### 🖥️ Cross-Platform Builds
1422

15-
- **Windows support** — Fixed MSVC `RuntimeLibrary` mismatch by disabling `esaxx_fast` feature on `tokenizers` crate (C++ suffix array conflicted with ONNX Runtime's `/MD` CRT)
16-
- **Linux support** — Removed deprecated `libappindicator3-dev` dependency
17-
- **CI/CD** — All 4 platform builds (macOS aarch64, macOS x86_64, Linux .deb, Windows .msi→.nsis) now pass consistently
23+
- **Windows support** — Fixed MSVC `RuntimeLibrary` mismatch by disabling `esaxx_fast` feature on `tokenizers` crate (C++ suffix array conflicted with ONNX Runtime's `/MD` CRT).
24+
- **Linux support** — Removed deprecated `libappindicator3-dev` dependency.
25+
- **CI/CD** — All 4 platform builds (macOS aarch64, macOS x86_64, Linux .deb, Windows NSIS .exe) now pass consistently in GitHub Actions.
26+
27+
### 📦 Downloads
28+
29+
- **macOS** (Apple Silicon) — `.dmg`
30+
- **macOS** (Intel) — `.dmg`
31+
- **Linux**`.deb`
32+
- **Windows**`.exe` (NSIS installer)
1833

1934
## 0.1.0 (2025-06-03)
2035

0 commit comments

Comments
 (0)