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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user