mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-06-06 22:05:13 +02:00
parent
a1242a1c1d
commit
513b0e493e
2 changed files with 31 additions and 8 deletions
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
|
|
@ -27,6 +27,8 @@ jobs:
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: aarch64-unknown-linux-gnu
|
- target: aarch64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
- target: x86_64-pc-windows-msvc
|
||||||
|
os: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -57,6 +59,12 @@ jobs:
|
||||||
if: matrix.target != 'aarch64-unknown-linux-gnu' && runner.os == 'Linux'
|
if: matrix.target != 'aarch64-unknown-linux-gnu' && runner.os == 'Linux'
|
||||||
run: sudo apt-get update && sudo apt-get install -y cmake
|
run: sudo apt-get update && sudo apt-get install -y cmake
|
||||||
|
|
||||||
|
- name: Install NASM (Windows)
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: |
|
||||||
|
choco install nasm -y
|
||||||
|
echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --target ${{ matrix.target }}
|
run: cargo build --release --target ${{ matrix.target }}
|
||||||
|
|
||||||
|
|
@ -71,12 +79,22 @@ jobs:
|
||||||
# don't repeat that mistake. If a future binary gets renamed or
|
# don't repeat that mistake. If a future binary gets renamed or
|
||||||
# removed, this step should scream, not quietly publish an
|
# removed, this step should scream, not quietly publish an
|
||||||
# incomplete release.
|
# incomplete release.
|
||||||
cp target/${{ matrix.target }}/release/webclaw "$staging/"
|
|
||||||
cp target/${{ matrix.target }}/release/webclaw-mcp "$staging/"
|
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
|
||||||
cp target/${{ matrix.target }}/release/webclaw-server "$staging/"
|
cp target/${{ matrix.target }}/release/webclaw.exe "$staging/"
|
||||||
cp README.md LICENSE "$staging/"
|
cp target/${{ matrix.target }}/release/webclaw-mcp.exe "$staging/"
|
||||||
tar czf "$staging.tar.gz" "$staging"
|
cp target/${{ matrix.target }}/release/webclaw-server.exe "$staging/"
|
||||||
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
cp README.md LICENSE "$staging/"
|
||||||
|
7z a -tzip "$staging.zip" "$staging"
|
||||||
|
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
||||||
|
else
|
||||||
|
cp target/${{ matrix.target }}/release/webclaw "$staging/"
|
||||||
|
cp target/${{ matrix.target }}/release/webclaw-mcp "$staging/"
|
||||||
|
cp target/${{ matrix.target }}/release/webclaw-server "$staging/"
|
||||||
|
cp README.md LICENSE "$staging/"
|
||||||
|
tar czf "$staging.tar.gz" "$staging"
|
||||||
|
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
@ -99,7 +117,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd artifacts
|
cd artifacts
|
||||||
find . -name '*.tar.gz' -exec mv {} . \;
|
find . -name '*.tar.gz' -exec mv {} . \;
|
||||||
sha256sum *.tar.gz > SHA256SUMS
|
find . -name '*.zip' -exec mv {} . \;
|
||||||
|
sha256sum *.tar.gz *.zip > SHA256SUMS 2>/dev/null || sha256sum * > SHA256SUMS
|
||||||
cat SHA256SUMS
|
cat SHA256SUMS
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
|
|
@ -108,6 +127,7 @@ jobs:
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: |
|
files: |
|
||||||
artifacts/*.tar.gz
|
artifacts/*.tar.gz
|
||||||
|
artifacts/*.zip
|
||||||
artifacts/SHA256SUMS
|
artifacts/SHA256SUMS
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
|
|
@ -181,7 +201,7 @@ jobs:
|
||||||
tag="${GITHUB_REF#refs/tags/}"
|
tag="${GITHUB_REF#refs/tags/}"
|
||||||
base="https://github.com/0xMassi/webclaw/releases/download/${tag}"
|
base="https://github.com/0xMassi/webclaw/releases/download/${tag}"
|
||||||
|
|
||||||
# Download all 4 tarballs and compute SHAs
|
# Download all tarballs (Linux + macOS) and compute SHAs
|
||||||
for target in aarch64-apple-darwin x86_64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu; do
|
for target in aarch64-apple-darwin x86_64-apple-darwin aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu; do
|
||||||
curl -sSL "${base}/webclaw-${tag}-${target}.tar.gz" -o "${target}.tar.gz"
|
curl -sSL "${base}/webclaw-${tag}-${target}.tar.gz" -o "${target}.tar.gz"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@ Format follows [Keep a Changelog](https://keepachangelog.com/).
|
||||||
|
|
||||||
## [0.5.8] — 2026-05-04
|
## [0.5.8] — 2026-05-04
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- GitHub Releases now include a Windows x86_64 `.zip` with `webclaw.exe`, `webclaw-mcp.exe`, and `webclaw-server.exe`.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Improved brand extraction results for modern sites with large app shells. Brand colors, fonts, and logos are now less likely to be polluted by login widgets, customer-logo grids, icon fonts, or generated CSS noise.
|
- Improved brand extraction results for modern sites with large app shells. Brand colors, fonts, and logos are now less likely to be polluted by login widgets, customer-logo grids, icon fonts, or generated CSS noise.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue