diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-28 17:13:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-29 10:38:23 +0300 |
commit | 3783b6ace86957c95e5137c7645af319dd2462e9 (patch) | |
tree | f4649980e94680e9c277611e4c7b7988d0591f96 /bumper.md | |
parent | 53db547b3a4dc45aaa33b24f5b85da1e3397a38d (diff) | |
download | bumper-rs-3783b6ace86957c95e5137c7645af319dd2462e9.tar.gz |
feat: set version in Cargo.toml for Rust projects
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} |