mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-25 00:06:21 +02:00
fix(ci): fix Docker binary path extraction from release tarball
Tarball extracts to webclaw-vX.Y.Z-target/ directory, not flat. Use direct cp instead of find. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
48a3c45b36
commit
ef120f6ec7
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -121,12 +121,13 @@ jobs:
|
|||
- name: Download release binaries
|
||||
run: |
|
||||
tag="${GITHUB_REF#refs/tags/}"
|
||||
tarball="webclaw-${tag}-${{ matrix.binary_target }}.tar.gz"
|
||||
dir="webclaw-${tag}-${{ matrix.binary_target }}"
|
||||
tarball="${dir}.tar.gz"
|
||||
curl -sSL "https://github.com/0xMassi/webclaw/releases/download/${tag}/${tarball}" -o release.tar.gz
|
||||
tar xzf release.tar.gz
|
||||
mkdir -p binaries
|
||||
find . -name 'webclaw' -not -name 'webclaw-mcp' -path '*/webclaw-*/' -exec cp {} binaries/webclaw \;
|
||||
find . -name 'webclaw-mcp' -exec cp {} binaries/webclaw-mcp \;
|
||||
cp "${dir}/webclaw" binaries/webclaw
|
||||
cp "${dir}/webclaw-mcp" binaries/webclaw-mcp
|
||||
chmod +x binaries/*
|
||||
ls -la binaries/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue