Private
Public Access
1
0

fix(ci): add cargo clean and artifact removal before packaging; bump to 1.1.7

- Insert 'Clean previous build artifacts' step (cargo clean + rm old .deb)
  before Build Debian package in both build-deb and build-deb-u2204 jobs.
- Bump version to 1.1.7 to ensure a clean build from scratch.
- Update debian/changelog with 1.1.7-1 entry.
This commit is contained in:
2026-05-18 17:18:11 +00:00
parent 6f6be7ef0c
commit 13da27364b
5 changed files with 17 additions and 2 deletions

View File

@ -171,6 +171,10 @@ jobs:
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev libssl-dev
- name: Clean previous build artifacts
run: |
cargo clean
rm -f ../linux-patch-api_*.deb
- name: Build Debian package
run: |
sudo dpkg-buildpackage -us -uc -b -d
@ -204,6 +208,10 @@ jobs:
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev libssl-dev
- name: Clean previous build artifacts
run: |
cargo clean
rm -f ../linux-patch-api_*.deb
- name: Build Debian package
run: |
sudo dpkg-buildpackage -us -uc -b -d