diff options
Diffstat (limited to 'bumper.md')
-rw-r--r-- | bumper.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -71,16 +71,18 @@ doesn't find any files it knows about. ~~~scenario given an installed Bumper -given file random.txt -when I try to run bumper 1.2.3 +given file foo/random.txt from Cargo.toml +given all files in foo are committed to git +when I try to run, in foo, bumper 1.2 then command fails -then only files random.txt exist +then only files random.txt, and .git exist in foo ~~~ ~~~{#random.txt .file} Some random text file Bumper knows nothing about. ~~~ + ## Creates a release tag This scenario verifies that Bumper creates a git tag to mark a @@ -92,8 +94,9 @@ given an installed Bumper given file foo/Cargo.toml from Cargo.toml 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 -then in foo, git tag v1.2 is a signed tag pointing at <COMMIT> +when I run, in foo, bumper 1.2.0 +then in foo, git tag v1.2.0 is a signed tag pointing at <COMMIT> +then file foo/Cargo.toml matches regex /version\s*=\s*"1\.2\.0"/ ~~~ ~~~{#Cargo.toml .file .ini} |