feat: probe autoupdate (#88)

* feat: autoupdate

* chore: bump version

* feat: publish installer

* fix: standalone builds

* ci: release docs

* fix: windows icmp socket

* docs: windows notice

* docs: remove line breaks
This commit is contained in:
LowderPlay
2026-08-29 00:22:08 +05:00
committed by GitHub
parent 0c43f470cd
commit 63dff075c0
29 changed files with 1734 additions and 203 deletions
+22 -3
View File
@@ -34,6 +34,12 @@ jobs:
- name: Build release binary
run: cargo build --release --package probe --bin cheburprobe --target x86_64-unknown-linux-musl
- name: Name Linux amd64 release asset
run: |
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "probe") | .version')
cp target/x86_64-unknown-linux-musl/release/cheburprobe \
"target/x86_64-unknown-linux-musl/release/cheburprobe-$version-linux-amd64"
- name: Build Debian package
run: cargo deb --package probe --target x86_64-unknown-linux-musl --no-strip --no-build -- --bin cheburprobe
@@ -41,7 +47,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: cheburprobe-linux-amd64
path: target/x86_64-unknown-linux-musl/release/cheburprobe
path: target/x86_64-unknown-linux-musl/release/cheburprobe-*-linux-amd64
compression-level: 0
- name: Upload Linux amd64 Debian package
@@ -74,6 +80,12 @@ jobs:
- name: Build Debian package
run: cargo deb --package probe --target aarch64-unknown-linux-musl --no-strip --no-build -- --bin cheburprobe
- name: Name Linux arm64 release asset
run: |
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "probe") | .version')
cp target/aarch64-unknown-linux-musl/release/cheburprobe \
"target/aarch64-unknown-linux-musl/release/cheburprobe-$version-linux-arm64"
- name: Build legacy OpenWrt opkg packages
run: |
chmod +x probe/openwrt/build-ipk.sh
@@ -102,7 +114,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: cheburprobe-linux-arm64
path: target/aarch64-unknown-linux-musl/release/cheburprobe
path: target/aarch64-unknown-linux-musl/release/cheburprobe-*-linux-arm64
compression-level: 0
- name: Upload Linux arm64 Debian package
@@ -133,11 +145,18 @@ jobs:
- name: Build release binary
run: cargo build --release --package probe --bin cheburprobe
- name: Name Windows release asset
shell: pwsh
run: |
$metadata = cargo metadata --no-deps --format-version 1 | ConvertFrom-Json
$version = ($metadata.packages | Where-Object name -eq 'probe').version
Copy-Item target/release/cheburprobe.exe "target/release/cheburprobe-$version-windows-x86_64.exe"
- name: Upload Windows amd64 binary
uses: actions/upload-artifact@v7
with:
name: cheburprobe-windows-amd64
path: target/release/cheburprobe.exe
path: target/release/cheburprobe-*-windows-x86_64.exe
compression-level: 0
docker: