fix: remove stale build artifacts from releases/ and add cleanup to Alpine build
- Add /releases/ to .gitignore to prevent tracking build artifacts - Remove old 1.0.0 .deb files from git tracking - Add stale .apk cleanup to build-alpine.sh (matching build-arch.sh) - Add cleanup step to CI Alpine workflow to remove stale packages Fixes Alpine package version mismatch caused by old artifacts in releases/
This commit is contained in:
@ -8,6 +8,10 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user