deb: first implementation

This commit is contained in:
2025-12-10 18:40:32 +01:00
parent 21059707d1
commit 4e8c307fd5
4 changed files with 41 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ fn increment_suffix(version: &str, suffix: &str) -> String {
/*
* Parse a changelog file first entry header, to obtain (package, version, series)
*/
fn parse_changelog_header(
pub fn parse_changelog_header(
path: &Path,
) -> Result<(String, String, String), Box<dyn std::error::Error>> {
let file = File::open(path)?;