Private
Public Access
1
0

fix: remove all Alpine cleanup steps that broke abuild

- Revert build-alpine.sh to original (no cleanup lines)
- Remove CI Alpine cleanup step entirely
- Keep version verification and exact version upload in CI
- The original build worked fine without cleanup; stale packages
  are caught by version verification
This commit is contained in:
2026-05-27 20:44:16 -05:00
parent 1fb9962c22
commit 904654212f
2 changed files with 0 additions and 8 deletions

View File

@ -321,10 +321,6 @@ jobs:
apk add --no-cache alpine-sdk rust cargo openssl openssl-dev elogind-dev musl-dev abuild gcc
- name: Build release binary
run: cargo build --release --target x86_64-unknown-linux-musl
- name: Clean stale Alpine packages
run: |
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
- name: Build Alpine package
run: |
chmod +x build-alpine.sh

View File

@ -8,10 +8,6 @@ set -e
echo "=== Linux Patch API - Alpine Build Script ==="
echo ""
# Clean stale packages from previous builds
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
# Source cargo environment (for rustup-installed toolchain in CI)
if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"