fix: CI fixes for tray build and macOS bundle

- Scope brew tap to default archive to avoid duplicate OS/Arch error
- Use pipe delimiter in bundle.sh sed to handle version strings with /
- Derive clean snapshot version for non-tag CI builds
- Run macOS bundle job in parallel with goreleaser (no dependency)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gareth
2026-03-11 13:55:15 -07:00
co-authored by Claude Opus 4.6
parent ce96181441
commit 47202f9d39
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -160,7 +160,6 @@ jobs:
macos-bundle:
name: macOS app bundle (${{ matrix.goarch }})
needs: [goreleaser]
runs-on: macos-latest
strategy:
matrix:
@@ -181,7 +180,12 @@ jobs:
cd webui && pnpm install && pnpm run build
- name: Get version
id: version
run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
run: |
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
else
echo "version=0.0.0-snapshot-${GITHUB_SHA::8}" >> "$GITHUB_OUTPUT"
fi
- name: Build binary
env:
CGO_ENABLED: "1"