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

2
Cargo.lock generated
View File

@ -1916,7 +1916,7 @@ dependencies = [
[[package]]
name = "linux-patch-api"
version = "1.1.5"
version = "1.1.6"
dependencies = [
"actix",
"actix-rt",

View File

@ -1,6 +1,6 @@
[package]
name = "linux-patch-api"
version = "1.1.6"
version = "1.1.7"
edition = "2021"
authors = ["Echo <echo@moon-dragon.us>"]
description = "Secure remote package management API for Linux systems"

7
debian/changelog vendored
View File

@ -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
* Fix rustls CryptoProvider initialization panic on server startup

0
debian/rules vendored Normal file → Executable file
View File