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 update
|
||||||
sudo apt-get -f install -y
|
sudo apt-get -f install -y
|
||||||
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev libssl-dev
|
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
|
- name: Build Debian package
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg-buildpackage -us -uc -b -d
|
sudo dpkg-buildpackage -us -uc -b -d
|
||||||
@ -204,6 +208,10 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -f install -y
|
sudo apt-get -f install -y
|
||||||
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev libssl-dev
|
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
|
- name: Build Debian package
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg-buildpackage -us -uc -b -d
|
sudo dpkg-buildpackage -us -uc -b -d
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1916,7 +1916,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "linux-patch-api"
|
name = "linux-patch-api"
|
||||||
version = "1.1.5"
|
version = "1.1.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix",
|
"actix",
|
||||||
"actix-rt",
|
"actix-rt",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "linux-patch-api"
|
name = "linux-patch-api"
|
||||||
version = "1.1.6"
|
version = "1.1.7"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Echo <echo@moon-dragon.us>"]
|
authors = ["Echo <echo@moon-dragon.us>"]
|
||||||
description = "Secure remote package management API for Linux systems"
|
description = "Secure remote package management API for Linux systems"
|
||||||
|
|||||||
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
linux-patch-api (1.1.7-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fix CI pipeline: add cargo clean and remove old .deb artifacts before packaging
|
||||||
|
* Bump version to 1.1.7 to ensure clean build with correct binary
|
||||||
|
|
||||||
|
-- Echo <echo@moon-dragon.us> Mon, 18 May 2026 12:20:00 -0500
|
||||||
|
|
||||||
linux-patch-api (1.1.6-1) unstable; urgency=low
|
linux-patch-api (1.1.6-1) unstable; urgency=low
|
||||||
|
|
||||||
* Fix rustls CryptoProvider initialization panic on server startup
|
* Fix rustls CryptoProvider initialization panic on server startup
|
||||||
|
|||||||
0
debian/rules
vendored
Normal file → Executable file
0
debian/rules
vendored
Normal file → Executable file
Reference in New Issue
Block a user