From b34e180af0c3b47d7322b475570d57f769f030fa Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 5 Apr 2021 14:40:49 +0300 Subject: tests: use a less likely version number --- Cargo.lock | 2 +- bumper.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6bd2038..3ab79d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,7 +119,7 @@ checksum = "63396b8a4b9de3f4fdfb320ab6080762242f66a8ef174c49d8e19b674db4cdbe" [[package]] name = "bumper" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "cargo-edit", diff --git a/bumper.md b/bumper.md index a77a26f..dafd216 100644 --- a/bumper.md +++ b/bumper.md @@ -87,14 +87,14 @@ given file foo/Cargo.toml from Cargo.toml given file foo/Cargo.lock from Cargo.lock given file foo/debian/changelog from changelog given all files in foo are committed to git -when I run, in foo, bumper 1.2.0 +when I run, in foo, bumper 105.12765.42 then all changes in foo are committed -then in foo, git tag v1.2.0 is a signed tag -then file foo/Cargo.toml matches regex /version\s*=\s*"1\.2\.0"/ +then in foo, git tag v105.12765.42 is a signed tag +then file foo/Cargo.toml matches regex /version\s*=\s*"105\.12765\.42"/ then file foo/Cargo.lock is newer than foo/Cargo.toml then file foo/Cargo.lock is committed to git then file foo/debian/changelog matches regex / \(0\.1\.0-1\) / -then file foo/debian/changelog matches regex / \(1\.2\.0-1\) / +then file foo/debian/changelog matches regex / \(105\.12765\.42-1\) / ~~~ ~~~{#main.rs .file .rust} -- cgit v1.2.1