diff options
Diffstat (limited to 'bumper.md')
-rw-r--r-- | bumper.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -81,6 +81,31 @@ then only files random.txt exist Some random text file Bumper knows nothing about. ~~~ +## Creates a release tag + +This scenario verifies that Bumper creates a git tag to mark a +release. For this to work, Bumper needs to recognize the type of +project. We use a Rust project for simplicity. + +~~~scenario +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> +~~~ + +~~~{#Cargo.toml .file .ini} +[package] +name = "foo" +version = "0.1.0" +authors = ["J. Random Hacker <jr@example.com>"] +edition = "2018" + +[dependencies] +~~~ + --- @@ -96,4 +121,6 @@ functions: - subplot/bumper.py - subplot/vendored/files.py - subplot/vendored/runcmd.py +classes: +- ini ... |