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:
@ -315,6 +315,9 @@ 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
|
||||
- name: Build Alpine package
|
||||
run: |
|
||||
chmod +x build-alpine.sh
|
||||
|
||||
Reference in New Issue
Block a user