From d60b3fbf8d1840e5a1b5b088333e136616068c15 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 4 Apr 2021 12:30:52 +0300 Subject: feat: set version in debian/changelog --- bumper.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bumper.md') diff --git a/bumper.md b/bumper.md index b4a269f..130e980 100644 --- a/bumper.md +++ b/bumper.md @@ -92,11 +92,14 @@ project. We use a Rust project for simplicity. ~~~scenario given an installed Bumper given file foo/Cargo.toml from Cargo.toml +given file foo/debian/changelog from changelog given all files in foo are committed to git given the HEAD commit in foo is COMMIT when I run, in foo, bumper 1.2.0 then in foo, git tag v1.2.0 is a signed tag pointing at then file foo/Cargo.toml matches regex /version\s*=\s*"1\.2\.0"/ +then file foo/debian/changelog matches regex / \(0\.1\.0-1\) / +then file foo/debian/changelog matches regex / \(1\.2\.0-1\) / ~~~ ~~~{#Cargo.toml .file .ini} @@ -109,6 +112,14 @@ edition = "2018" [dependencies] ~~~ +~~~{#changelog .file} +dummy (0.1.0-1) unstable; urgency=low + + * This is a debian/changelog file. Syntax is finicky. + + -- Lars Wirzenius Tue, 30 Mar 2021 08:33:35 +0300 +~~~ + --- -- cgit v1.2.1